Skip to content
Snippets Groups Projects
Verified Commit 3be76f8c authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Make management command compatible with Django 4.1 by using a non-boolean...

Make management command compatible with Django 4.1 by using a non-boolean value for requires_system_checks
parent 67c54abb
No related branches found
No related tags found
1 merge request!5Resolve "Django 4.1.1: TypeError: requires_system_checks must be a list or tuple."
Pipeline #96338 failed
Unreleased
=====================================================
* Fix compatibility with Django 4.1
Version 6.0.2 (2022-09-05)
=====================================================
......
......@@ -8,7 +8,7 @@ from ..exceptions import YarnNotInstalled
class BaseYarnCommand(BaseCommand):
"""Base management command with yarn support"""
requires_system_checks = False
requires_system_checks = []
# add fake .options_list for Django>=1.10
if not hasattr(BaseCommand, 'option_list'):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment