Skip to content

Conversation

@KommuSoft
Copy link

@KommuSoft KommuSoft commented Dec 6, 2022

Since Django-4.1, requires_system_checks should be a list or tuple listing the checks to perform. By setting it to an empty tuple, it will work on Django versions before and after 4.1, since the truthiness of an empty tuple is False.

See https://code.djangoproject.com/ticket/33896

Since Django-4.1, `requires_system_checks` should be a list or tuple listing the checks to perform. By setting it to an empty tuple, it will work on Django versions before and after 4.1, since the truthiness of an empty tuple is `False`.
@paigeadelethompson
Copy link

@nvbn any chance you could confirm/merge this soon? Thank you

@mm-webx
Copy link

mm-webx commented May 19, 2023

Quick fix for everyone - use local version with this "fix":

  1. Uninstall django-bower
pip uninstall django-bower
  1. Install bower to directory temp
pip install django-bower --target temp/
  1. copy djangobower from temp directory to main directory of your app
  2. go to file djangobower/management/base.py and replace line 11 to requires_system_checks = ()

Copy link

@va1ngvarr va1ngvarr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change will repair the error that appers with newest versions of Django. I want the author to merge the pull request :)

@KommuSoft
Copy link
Author

@nvbn: is it possible to merge this, this is only a one-liner change.

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 this pull request may close these issues.

4 participants