id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 14556 Recommend to avoid FlatpageFallbackMiddleware unless absolutely required Patryk Zawadzki nobody "In most cases you don't need conflicting routing rules in {{{urls.py}}} so it's easier to just {{{include('django.contrib.flatpages.urls')}}}. As a free bonus you get to avoid all kinds of problems with other middleware, contextprocessors and the CSRF framework. I can see how the middleware is useful if for some reason you have to put the flat pages in the same URL prefix another application uses but it's a workaround that breaks the documented routing behavior. I for one don't expect apps to provide their own url routing middleware instead of {{{urls.py}}} and I can't see how flatpages is an exception here." Cleanup/optimization closed Documentation 1.2 Normal fixed flatpages Accepted 1 0 0 1 0 0