Re: Store and retrieve template code from database

2006-07-07 Thread plungerman
thanks to everyone for all of your assistance. in the end, i created a custom template loader that pulls templates from a database table, based on the dbtemplate loader that georg created for his cms system. i already had a data model so creating the loader and adding the correct incantations to

Re: Store and retrieve template code from database

2006-07-05 Thread plungerman
hello malcom, thanks for taking the time to help out. Malcolm Tredinnick wrote: > On Wed, 2006-07-05 at 12:32 +, plungerman wrote: > > greetings, > > > > i would like to store django template code in a database and retrieve > > it for display. before i go any further, does anyone foresee an

Re: Store and retrieve template code from database

2006-07-05 Thread hugo
Hi, Adrian Holovaty wrote: > It's a bit old, and I'm not sure whether he's updated it for the > newest Django -- but it could be a good starting point. I didn't, yet. But someone on the IRC channel said he wanted to look into that, so maybe someone else should be up with something like this. It

Re: Store and retrieve template code from database

2006-07-05 Thread Adrian Holovaty
On 7/5/06, plungerman <[EMAIL PROTECTED]> wrote: > i would like to store django template code in a database and retrieve > it for display. See Hugo's implementation here: http://code.djangoproject.com/ticket/632 It's a bit old, and I'm not sure whether he's updated it for the newest Django -- b

Re: Store and retrieve template code from database

2006-07-05 Thread Simon Willison
On 5 Jul 2006, at 14:32, plungerman wrote: > i would like to store django template code in a database and retrieve > it for display. The Django template system was originally designed with this exact use-case in mind - we made sure that there was flexibility as to where the templates were l

Re: Store and retrieve template code from database

2006-07-05 Thread Malcolm Tredinnick
On Wed, 2006-07-05 at 12:32 +, plungerman wrote: > greetings, > > i would like to store django template code in a database and retrieve > it for display. before i go any further, does anyone foresee any > security risks with this approach? there will be control over those > users who can ma

Store and retrieve template code from database

2006-07-05 Thread plungerman
greetings, i would like to store django template code in a database and retrieve it for display. before i go any further, does anyone foresee any security risks with this approach? there will be control over those users who can manipulate the data but not so much that we could monitor what ever