Revision history [back]
MIDDLEWARE_CLASSES order
I noticed that the order recommended by askbot for MIDDLEWARE_CLASSES has:
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
whereas django documentation and default settings has:
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
If i change the order to match what Django recommends it takes the site down ... the ordering of middle ware always confuses me a bit, but I am wondering why the difference and if it has any side effects for other functioning?