Try adding the following to your MIDDLEWARE_CLASSES setting:

'django.middleware.common.CommonMiddleware',

This middleware tries to find a flatpage for any 404.

Alternatively add this catch-all url pattern at the end of your url
patterns sequence:

(r'', include('django.conf.urls.flatfiles')),

Note that the admin > flatpage URL entry should have leading and
trailing slashes, as per the instructions.  By default, flatfiles use
the 'flatfiles/default' template, but this is customisable in the
admin > flatpage 'advanced' subsection.

Hope that helps,

Kieran

Reply via email to