Uncomment 'django.contrib.messages'

When run  'python manage.py migrate --settings=demo.settings --noinput'

I get this on console
SystemCheckError: System check identified some issues:

ERRORS:
?: (admin.E406) 'django.contrib.messages' must be in INSTALLED_APPS in order to use the admin application.

So uncomment it to solve the issue.
This commit is contained in:
Mahmoud Adel 2020-03-12 17:22:46 +02:00 committed by GitHub
parent 6460348709
commit 597d17e6ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ INSTALLED_APPS = (
'django.contrib.auth', 'django.contrib.auth',
'django.contrib.contenttypes', 'django.contrib.contenttypes',
'django.contrib.sessions', 'django.contrib.sessions',
# 'django.contrib.messages', 'django.contrib.messages',
'django.contrib.staticfiles', 'django.contrib.staticfiles',
'django.contrib.sites', 'django.contrib.sites',