MIDDLEWARE_CLASSES django middleware common CommonMiddleware django co

1
2
3
4
5
6
7
8
9
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.doc.XViewMiddleware',
'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
'topfootball.middleware.threadlocals.ThreadLocals', #hack for get current user
'middleware.url.UrlMiddleware',
)