Skip to content

Latest commit

 

History

History
55 lines (42 loc) · 1.57 KB

README.rst

File metadata and controls

55 lines (42 loc) · 1.57 KB

django-dbtemplates

Build Status Jazzband

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/jazzband/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', ]

``