djangosnippets.org: Latest snippets posted by doomatelhttps://djangosnippets.org/users/doomatel/2012-03-30T02:06:37.866607-05:00doomatelDatabase template loader
2012-03-30T02:06:37.866607-05:00doomatelhttps://djangosnippets.org/snippets/2726/<p>This snippet provides getting templates from the model in database.</p>
<p>We work with templates as usual (using as a template name value of the field <strong>"slug"</strong>).</p>
<p>You can do your own application without "TemplateTypes" model - it's added for ability to filter templates. You can use choices or remove …</p>
Freely redistributable