Merge pull request #19 from bmihelac/patch-2

Fix typo in docs - ``dbtemplates.loader.Loader`` should be first in ``TEMPLATE_LOADERS``.
This commit is contained in:
Jannis Leidel 2012-01-09 10:11:18 -08:00
commit b13ffbb248

View file

@ -35,6 +35,11 @@ Setup
'dbtemplates.loader.Loader',
)
Order of TEMPLATE_LOADERS is important. In the former example, templates from database
will be used as a fallback (ie. when template does not exists in other locations).
If you want template from database to be used to override templates in other locations,
put ``dbtemplates.loader.Loader`` at beginning of ``TEMPLATE_LOADERS`` settting.
4. Sync your database ``python manage.py syncdb``
5. Restart your Django server