On 5/17/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > > On 5/16/07, Nimrod A. Abing <[EMAIL PROTECTED]> wrote: > > Can anyone here provide pointers on how to get flatpages to work > > properly under Apache and mod_python? > > From your custom 404, you'll want to return > django.http.HttpResponseNotFound rather that HttpResponse.
Ah, that fixed it! Thanks! Also fixed my custom 500 handler to return HttpResponseServerError. > Also, are you using flatpage middleware or view? I am using middleware as described in the docs. I don't see how to use flatpages as a view in the docs. How do you do that? Also how does one inject custom Context variables when rendering flatpages? As for using textile, I am planning on creating a filter for it. But if someone has already done so already please point the way. Thanks. -- _nimrod_a_abing_ http://abing.gotdns.com/ http://www.preownedcar.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---