Wow! Ask and ye shall receive! TemplatePages is *precisely* what I was looking for :-)
I can't wait to get to the office and try it out. Yay! Sean On Aug 16, 2006, at 6:33 AM, Bryan Chow wrote: > > On 8/15/06, Sean Schertell <[EMAIL PROTECTED]> wrote: >> I'd really like to use Django templates and stay DRY by using the >> same base template for my static pages as I do for any apps in the >> site. > > On 8/15/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: >> ... you just need an easy way to serve those pages. Well, they >> have no >> need for anything context specific, so presuming you have a way to >> map >> URLs to the right template name, write a simple view ... > > Ian Clelland and I wrote a Django app that does just that (mapping > URLs to mostly-static templates). Our code also takes several other > issues into consideration, such as sanitizing the URL so that > arbitrary files on the filesystem won't be served. > > http://www.verdjn.com/wiki/TemplatePages > > Hope this helps :) > > Bryan > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---