michaelkuty / django-dbtemplates

Django template loader for database stored templates with extensible cache backend - Django 1.8

Home Page:http://django-dbtemplates.readthedocs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

``

About

Django template loader for database stored templates with extensible cache backend - Django 1.8

http://django-dbtemplates.readthedocs.org/

License:Other


Languages

Language:JavaScript 72.8%Language:Python 26.6%Language:CSS 0.5%