Open evanhitchen123 opened 10 months ago
Interesting. Can you try moving it down through the list to see if it starts working in a different location? Perhaps there's a bad interaction with another middleware.
MIDDLEWARE = [
"django.middleware.security.SecurityMiddleware",
"corsheaders.middleware.CorsMiddleware",
"whitenoise.middleware.WhiteNoiseMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",
"django.middleware.common.CommonMiddleware",
"django.middleware.csrf.CsrfViewMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
"kolo.middleware.KoloMiddleware",
]
all my middleware and even at the bottom it freezes up
What are you running at the console? python manage.py runserver
?
Does the context manager or decorator work?
@evanhitchen123 👋
Yeah super strange, haven't seen this before either!
Few more questions for you:
Ok so have solved this, not sure exactly why but for whatever reason, changing the name of my sqllite db resulted in it starting up eventually. I had been trying to get this to work with my docker arrangement but that will be my next step.
That is strange. I'd love to understand why that helped!
The following in my settings, then output on console:
However, when I remove kolo middleware, it starts up fine