Django preparing for prod settings

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?

The impression i get is that the
from .common import *
part isnt working for some reason. But maybe I’ve got that wrong too.

I should also specify im trying to ‘runserver’ in my dev environment and havent attempted to deploy yet.

Just fixed this! I had a typo in the MIDDLEWARE section of my common.py
Forgot to add a comma.