django-templates

Django Templates


Keywords
django templates, pypi, python, python-library
License
MIT
Install
pip install django-templates==0.0.13

Documentation

Travis

Install

$ [sudo] pip install django-templates

Functions

function description
django_templates.find(path) return list with templates/ folders

Examples

settings.py before

>>> TEMPLATES = [
    {
        'DIRS':
        [
            BASE_DIR + '/templates/',
            BASE_DIR + '/app1/templates/',
            BASE_DIR + '/app2/templates/'
        ]
    }

settings.py after

>>> import django_templates

>>> TEMPLATES = [
    {
        'DIRS': django_templates.find(BASE_DIR)
    }
]

readme-md - README.md generator