django-dbtemplates 1.2.1

Template loader for database stored templates with extensible cache backend
django-dbtemplates is a Django application that comes with to parts: It allows you to create templates that are saved in your database, and it provides a so called template loader, a function that enables Django to find the templates you created in the database.

Usage:

Creating database templates is pretty simple: Just open the admin interface of your Django-based site in your browser and click on "Templates" in the "Dbtemplates" section.

There you only need to fill in the name field with the identifier, Django is supposed to use while searching for templates, e.g. blog/entry_list.html. The content field should be filled with the content of your template.

Optionally, by leaving the content field empty you are able to tell dbtemplates to look for a template with the name by using Django's other template loaders. For example, if you have a template called blog/entry_list.html on your file system and want to save the templates contents in the database, you just need to leave the content field empty to automatically populate it. That's especially useful if you don't want to copy and paste its content manually to the textarea.

last updated on:
September 9th, 2011, 11:18 GMT
price:
FREE!
developed by:
Jannis Leidel
homepage:
github.com
license type:
BSD License 
category:
ROOT \ Internet \ HTTP (WWW)

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!
What's New in version 0.8.0
  • Added Finnish translation (by jholster)
  • Added --overwrite and --app-first options to sync_templates command (by Alex Kamedov).
read full changelog

Add your review!

SUBMIT