Skip to content

WhiskeyMedia/django-templatefinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-templatefinder

Django templatefinder is a very simple template loader fo Django 1.3. It extends the cached template loader from Django. During initialization it goes throught all directories containing templates and composes a list of available templates. When a template is then requested and is not in this set, TemplateDoesNotExist is raised immediately.

Setup

Put 'templatefinder.Loader' into TEMPLATE_LOADERS in your settings.py as you would 'django.template.loaders.cached.Loader'. For example:

TEMPLATE_LOADERS = (
    ('templatefinder.Loader', (
        'django.template.loaders.filesystem.Loader',
        'django.template.loaders.app_directories.Loader',
    )),
)

About

Simple caching template loader for Django

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages