On 5/17/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
>
> On 5/16/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
> > Already done, though under-documented.
> > http://www.djangoproject.com/documentation/templates/#django-contrib-markup
>
> Ah, here, too:
> http://www.djangoproject.com/documentation/add
On 5/16/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
> Already done, though under-documented.
> http://www.djangoproject.com/documentation/templates/#django-contrib-markup
Ah, here, too:
http://www.djangoproject.com/documentation/add_ons/#markup
--~--~-~--~~~---~--~---
On 5/16/07, Nimrod A. Abing <[EMAIL PROTECTED]> wrote:
...
> 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?
As the last entry in your urlpatterns, include this:
(r'^(.*)/$','django.contrib.flatpages.views.flatpage'
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.HttpResponseNo
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.
Also, are you using flatpage m
5 matches
Mail list logo