jmfederico/django-use-email-as-username

Following readme, Create your new django app throws error

gjohnrao opened this issue · 3 comments

  • Django use Email as Username version: latest
  • Django version: lastest
  • Python version: 3.9
  • Operating System: Windoes

From readme steps:

  1. Create your new django app:
python manage.py create_custom_user_app

Error: TypeError: requires_system_checks must be a list or tuple.


Hi @johnrao7,

Same here.

This seems to be an incompatibility with Django 4.1, documented in Django #31546. Our library shows an error when this line of code is called.

As a workaround, you can downgrade Django to v4.0.8, run the command and upgrade again.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.