On 4/24/08, Rodney Topor <[EMAIL PROTECTED]> wrote: > > Is Flatpages required to display every static HTML page? It seems to > require a fair bit of work by the programmer, and requires additional > tables and rows in the database. I guess it's simpler for the > programmer than writing a new view for every static HTML page, though > this would not require database storage. But is there any simpler > way? Also, it seems inconsistent to provide an admin interface to > edit flatpages but not to edit arbitrary templates.
Take a look at the django.views.generic.simple.direct_to_template (which is documented in generic views), this provides a way to do static HTML pages. Unfortunately, there's no way to edit those via the Admin. Jay P. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---