Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"assets build" fails in Django 4.1 #102

Open
AetherUnbound opened this issue Nov 5, 2022 · 0 comments · May be fixed by #103
Open

"assets build" fails in Django 4.1 #102

AetherUnbound opened this issue Nov 5, 2022 · 0 comments · May be fixed by #103

Comments

@AetherUnbound
Copy link

It appears that running python manage.py assets build with Django 4.1 fails with the following exception:

Traceback (most recent call last):
  File "/tmp/build_74533dba/manage.py", line 11, in <module>
    execute_from_command_line(sys.argv)
  File "/app/.heroku/python/lib/python3.10/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
    utility.execute()
  File "/app/.heroku/python/lib/python3.10/site-packages/django/core/management/__init__.py", line 440, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/app/.heroku/python/lib/python3.10/site-packages/django/core/management/__init__.py", line 279, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "/app/.heroku/python/lib/python3.10/site-packages/django/core/management/__init__.py", line 49, in load_command_class
    return module.Command()
  File "/app/.heroku/python/lib/python3.10/site-packages/django/core/management/base.py", line 274, in __init__
    raise TypeError("requires_system_checks must be a list or tuple.")
TypeError: requires_system_checks must be a list or tuple.

This appears to be because of this line:

requires_system_checks = False

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant