summaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-06-20 23:31:34 -0500
committerDan McGee <dan@archlinux.org>2010-06-20 23:31:34 -0500
commit67f6bc546ec20bd1912aae385220855f9a41a93d (patch)
tree18b1a40c1d18634f0b867bcb637e5ee69942cd87 /settings.py
parentb6efa3443e8f85804650128aea85d3216e0b4933 (diff)
downloadarchweb-67f6bc546ec20bd1912aae385220855f9a41a93d.tar.gz
archweb-67f6bc546ec20bd1912aae385220855f9a41a93d.zip
Remove AutoUserMiddleware
This was having some serious effects on caching as we would always have to access the user in the session, marking every page with a "Vary: Cookie" header. This is the start of stamping that out. The way we get the user for news item creation is now more similar to that from the todo lists, but not quite. That should be adjusted to be more like the news item creation. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/settings.py b/settings.py
index 6c9a1183..68eaaad4 100644
--- a/settings.py
+++ b/settings.py
@@ -51,7 +51,6 @@ MIDDLEWARE_CLASSES = (
'django.middleware.http.ConditionalGetMiddleware',
"django.middleware.common.CommonMiddleware",
"django.middleware.doc.XViewMiddleware",
- "main.middleware.AutoUserMiddleware",
'django.middleware.cache.FetchFromCacheMiddleware',
)