Changeset 1296
- Timestamp:
- 11/19/05 22:55:57 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/contrib/flatpages/middleware.py
r1166 r1296 1 1 from django.contrib.flatpages.views import flatpage 2 from django.core.extensions import Http404 2 3 from django.conf.settings import DEBUG 3 4 … … 10 11 # Return the original response if any errors happened. Because this 11 12 # is a middleware, we can't assume the errors will be caught elsewhere. 13 except Http404: 14 return response 12 15 except: 13 16 if DEBUG:
