81
80
The middleware only gets activated for 404s -- not for 500s or responses of any
84
91
Note that the order of :setting:`MIDDLEWARE_CLASSES` matters. Generally, you can
85
92
put :class:`~django.contrib.flatpages.middleware.FlatpageFallbackMiddleware` at
86
93
the end of the list, because it's a last resort.