I see.  Thank you.

I now see that I could also treat a static HTML page as a media object
and use the method described at 
http://www.djangoproject.com/documentation/static_files/
of the documentation.

Rodney

On Apr 25, 1:55 pm, "Jay Parlar" <[EMAIL PROTECTED]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to