Use the class based loader in the docs.

This commit is contained in:
Jannis Leidel 2011-04-14 13:28:07 +02:00
parent cdcae5d640
commit 8c28bcf52d

View file

@ -24,8 +24,8 @@ Setup
'dbtemplates',
)
* Add ``dbtemplates.loader.load_template_source`` to the
``TEMPLATE_LOADERS`` list in the settings.py of your Django project
* Add ``dbtemplates.loader.Loader`` to the ``TEMPLATE_LOADERS`` list
in the settings.py of your Django project.
It should look something like this::