mirror of
https://github.com/jazzband/django-dbtemplates.git
synced 2026-05-22 06:11:57 +00:00
Further corrections
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@8 cfb8ba98-e953-0410-9cff-959ffddf5974 committer: leidel <leidel@cfb8ba98-e953-0410-9cff-959ffddf5974> --HG-- extra : convert_revision : c96834e4636755e0267ea2d912c22729e96d780f
This commit is contained in:
parent
bf5127ccc5
commit
7c5c4b3b4c
1 changed files with 3 additions and 3 deletions
|
|
@ -30,15 +30,15 @@ How to use it in your own django application
|
|||
'myapp.template',
|
||||
)
|
||||
|
||||
# Add ``myapp.template.loaders.database.load_template_source```to the
|
||||
``TEMPLATE_LOADERS`` where "myapp" is the name of your django project
|
||||
# Add ``myapp.template.loaders.database.load_template_source`` to the
|
||||
``TEMPLATE_LOADERS`` where "myapp" is the name of your Django project
|
||||
|
||||
It should look something like this:
|
||||
|
||||
TEMPLATE_LOADERS = (
|
||||
'django.template.loaders.filesystem.load_template_source',
|
||||
'django.template.loaders.app_directories.load_template_source',
|
||||
'websushi.template.loaders.database.load_template_source',
|
||||
'myapp.template.loaders.database.load_template_source',
|
||||
)
|
||||
|
||||
3. Sync your database via shell (hint: "./manage.py syncdb" within project dir)
|
||||
|
|
|
|||
Loading…
Reference in a new issue