Skip to content

Django template loader for database stored templates with extensible cache backend - Django 1.8 - released under leonardo-dbtemplates

License

Notifications You must be signed in to change notification settings

django-leonardo/django-dbtemplates

 
 

Repository files navigation

django-dbtemplates

Build Status

dbtemplates is a Django app that consists of two parts:

  1. It allows you to store templates in your database
  2. It provides template loader that enables Django to load the templates from the database

It also features optional support for versioned storage and django-admin command, integrates with Django's caching system and the admin actions.

Please see http://django-dbtemplates.readthedocs.org/ for more details.

The source code and issue tracker can be found on Github:

https://github.com/jezdez/django-dbtemplates

Compatibility Roadmap

  • 1.3.2 dbtemplates dropped support for Django < 1.4
  • 1.4 will be supported only Django >= 1.7, please freeze your requirements on specific version of dbtemplates !

Setup for Django 1.8

1. Add to your INSTALLED_APPS: ``

INSTALLED_APPS = (
...

'django.contrib.sites', 'django.contrib.flatpages', 'dbtemplates',

)

`` 2. Add SITE_ID = 1 to your settings 3. Update settings for TEMPLATES['OPTIONS']:

``
'loaders': [
'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', 'dbtemplates.loader.Loader', ]

``

About

Django template loader for database stored templates with extensible cache backend - Django 1.8 - released under leonardo-dbtemplates

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 72.9%
  • Python 26.6%
  • CSS 0.5%