Hello,
Im attempting to prepare my project for production, and i have just split my settings file into common, dev and prod. I changed the references in manage.py, asgi.py and wsgi.py. Im running a asgi application, and im running in a virtual environment. Followed all the steps from the tutorial (Django 3), but now when i try ‘runserver’ i get the following errors
'django.core.management.base.SystemCheckError: SystemCheckError: System check identified some issues:
ERRORS:
?: (admin.E410) ‘django.contrib.sessions.middleware.SessionMiddleware’ must be in MIDDLEWARE in order to use the admin application.
HINT: Insert ‘django.contrib.sessions.middleware.SessionMiddleware’ before ‘django.contrib.auth.middleware.AuthenticationMiddleware’.
System check identified 1 issue (0 silenced).
Any ideas on what may be going wrong?