summaryrefslogtreecommitdiff
path: root/django/middleware/common.py
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-08-22 19:19:54 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-08-22 19:19:54 +0000
commit928832d6e03c8e1b86c9fcf2b4819c0625c920d0 (patch)
tree95e7de467aadb5e3d46e3eea799200bede19fae4 /django/middleware/common.py
parent601a892ea0ae833d0b00bbd66edeb33ecd2fcb91 (diff)
Changed SessionMiddleware to use process_request instead of process_view -- that way it always gets called, even for 404s
git-svn-id: http://code.djangoproject.com/svn/django/trunk@545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/middleware/common.py')
-rw-r--r--django/middleware/common.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/django/middleware/common.py b/django/middleware/common.py
index 75af3d07b7..295855d73e 100644
--- a/django/middleware/common.py
+++ b/django/middleware/common.py
@@ -22,9 +22,6 @@ class CommonMiddleware:
- Flat files: for 404 responses, a flat file matching the given path
will be looked up and used if found.
-
- You probably want the CommonMiddleware object to the first entry in your
- MIDDLEWARE_CLASSES setting;
"""
def process_request(self, request):