Skip to content
Snippets Groups Projects

Resolve "Django 4.1.1: TypeError: requires_system_checks must be a list or tuple."

2 files
+ 6
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -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'):
Loading