Re: MIDDLEWARE vs MIDDLEWARE_CLASSES: 'WSGIRequest' object has no attribute 'user'

2016-08-18 Thread Tim Graham
Are you running Django 1.10? It looks like your MIDDLEWARE setting is ignored which suggests you might be using an older version. On Wednesday, August 17, 2016 at 6:43:14 PM UTC-4, Andrew Emory wrote: > > My settings.py file has the default MIDDLEWARE settings generated by > django-admin

MIDDLEWARE vs MIDDLEWARE_CLASSES: 'WSGIRequest' object has no attribute 'user'

2016-08-17 Thread Andrew Emory
My settings.py file has the default MIDDLEWARE settings generated by django-admin startapp: MIDDLEWARE = [ 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware',