you might want to check out hugo's dbtemplate loader (which I
updated to work with the current trunk)
http://svn.zyons.python-hosting.com/trunk/zilbo/common/dbloader/
that way you can store the templates themselves in a database, which
might make life a bit more easier.
regards
Ian
On
Hi Sean,
No worries, glad to hear that you find TemplatePages useful :)
To answer your question, you can write a custom inclusion tag to
insert snippets of dynamic content into your templates.
http://www.djangoproject.com/documentation/templates_python/#inclusion-tags
Alternately, you could
On 8/15/06, Bryan Chow <[EMAIL PROTECTED]> wrote:
>
> 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
On 8/15/06, Sean Schertell <[EMAIL PROTECTED]> wrote:
> 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
Cool. Please let us know how it works out for you.
Bryan :)
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
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
On Tue, 2006-08-15 at 17:47 +0900, Sean Schertell 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. But I'm a little bit put-off by the "flatpages" middleware
> because it store the
Sean Schertell 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. But I'm a little bit put-off by the "flatpages" middleware
> because it store the content in a database -- seems to
Hi guys,
I mostly create pretty boring websites with little apps built-in. For
example, a 6 to 10 page website full of static pages about a company,
plus a couple of small apps -- maybe a blog or a custom photo gallery.
I'm very excited about Django's approach toward keeping apps/
9 matches
Mail list logo