I'm using Django 1.1.1 stable. When
DEBUG is set to
True Django flatpages works correctly; when
False every flatpage I try to access raises a custom 404 error (my error template is obviously working correctly).
Searching around on the internet suggests creating 404 and 500 templates which I have done.
I've added to
FlatpageFallBackMiddleware to middleware_classes and flatpages is added to installed applications. Any ideas how I can make flatpages work?
© Stack Overflow or respective owner