django-dbtemplates

Template loader for database stored templates with extensible cache backend
Download

django-dbtemplates Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Jannis Leidel
  • Publisher web site:
  • http://github.com/jezdez/

django-dbtemplates Tags


django-dbtemplates Description

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. Requirements: · Django What's New in This Release: · Fixed issue with default site of a template, added ability to disable default site (DBTEMPLATES_ADD_DEFAULT_SITE).


django-dbtemplates Related Software