0

i know same Question has already been asked and tried that solution by putting User.USERNAME_FIELD = 'email' in __init__.py file but it gives error

raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.

settings.py

INSTALLED_APPS = [
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    'account',
]
Ketan Suthar
  • 365
  • 4
  • 13

0 Answers0