diff options
author | Joseph Kocherhans <joseph@jkocherhans.com> | 2006-06-19 15:23:57 +0000 |
---|---|---|
committer | Joseph Kocherhans <joseph@jkocherhans.com> | 2006-06-19 15:23:57 +0000 |
commit | adf4b9311d5d64a2bdd58da50271c121ea22e397 (patch) | |
tree | a69b3b023595cf1ce67a14c4c1ecd3290d94088e /django/contrib/flatpages/middleware.py | |
parent | e976ed1f7910fad03704f88853c5c5b36cbab134 (diff) | |
download | django-attic/multi-auth.tar.gz |
multi-auth: Merged to [3151]archive/attic/multi-authattic/multi-auth
git-svn-id: http://code.djangoproject.com/svn/django/branches/multi-auth@3152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/contrib/flatpages/middleware.py')
-rw-r--r-- | django/contrib/flatpages/middleware.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/flatpages/middleware.py b/django/contrib/flatpages/middleware.py index 074e4ea735..231b5fdd5c 100644 --- a/django/contrib/flatpages/middleware.py +++ b/django/contrib/flatpages/middleware.py @@ -2,7 +2,7 @@ from django.contrib.flatpages.views import flatpage from django.http import Http404 from django.conf import settings -class FlatpageFallbackMiddleware: +class FlatpageFallbackMiddleware(object): def process_response(self, request, response): if response.status_code != 404: return response # No need to check for a flatpage for non-404 responses. |