Flat Pages

Flat Pages

A Pluf flavoured version of Django's flatpages.

On many websites there are satellite pages to store dumb content like 'who are we', and so on.

The simple model for these pages is

  • an url
  • a title
  • a content
  • a template

You could write some url-filtering and then route to some specific and static templates.

A more generic solution is to intercept a 404 response and try to match the url with the flatpage model's url. Next step is to deliver the other model attributes, including the rough html content.

Together with the Auto Admin app, you have an simple yet clean way to manage these pages.

Contribs including code review are welcome !

Development Team
Admins
Baptiste Durand-Bret

Powered by InDefero,
a Céondo Ltd initiative.