iivvoo / django_layers

Django Layers - Dynamic / request depending template layers for Django
BSD 2-Clause "Simplified" License
12 stars 5 forks source link

layers.loader.LayerLoader must come before django.template.loaders #2

Closed brycenesbitt closed 10 years ago

brycenesbitt commented 10 years ago

The documentation reads:

Also, add 'layers.loader.LayerLoader' to your TEMPLATE_LOADERS

It should read something like:

Add 'layers.loader.LayerLoader' at the top of your TEMPLATE_LOADERS, prior to
any 'django.template.loaders':

TEMPLATE_LOADERS = (
    'layers.loader.LayerLoader',
    'django.template.loaders.filesystem.Loader',
    'django.template.loaders.app_directories.Loader',
)
brycenesbitt commented 10 years ago

ping?

iivvoo commented 10 years ago

Thanks for this update, and apologies for my slacking :)