Metadata-Version: 1.0
Name: django-dbtemplate
Version: 0.4.2
Summary: Allow to override templates from admin interface
Home-page: https://github.com/subuk/django-dbtemplate
Author: Matvey Kruglov
Author-email: kubuzzzz@gmail.com
License: UNKNOWN
Description: =================
        django-dbtemplate
        =================
        
        .. image:: https://travis-ci.org/subuk/django-dbtemplate.svg?branch=master
            :target: https://travis-ci.org/subuk/django-dbtemplate
            :alt: build status
        
        .. image:: https://badge.fury.io/py/django-dbtemplate.svg
            :target: http://badge.fury.io/py/django-dbtemplate
        
        With django-dbtemplate your users may override templates from admin interface.
        Main purpose of this project - allow admin users to override email templates.
        
        
        Installation
        ------------
        
        1. Install package
        
            .. code:: bash
        
                pip install django-dbtemplate
        
        2. Add "dbtempalte" and "django.contrib.admindocs" to INSTALLED_APPS
        
            .. code:: python
        
                INSTALLED_APPS = (
                    ...
                    'dbtemplate',
                    'django.contrib.admindocs',
                    ...
                )
        
        3. Add loader "dbtemplate.loader.DatabaseLoader" to TEMPLATE_LOADERS.
        
        
        For production deployments, always use `cached template loader <https://docs.djangoproject.com/en/1.8/ref/templates/api/#django.template.loaders.cached.Loader>`_ to awoid unnecessary database queries.
        
Platform: UNKNOWN
