mirror of
https://github.com/jazzband/django-dbtemplates.git
synced 2026-03-16 22:20:28 +00:00
There is no INSTALL file. (#128)
removed "Follow the instructions in the INSTALL file", since there is no INSTALL file. Co-authored-by: blag <blag@users.noreply.github.com>
This commit is contained in:
parent
a7f4e0bbe8
commit
e64a457281
1 changed files with 3 additions and 4 deletions
|
|
@ -3,8 +3,7 @@ Setup
|
||||||
|
|
||||||
1. Get the source from the `Git repository`_ or install it from the
|
1. Get the source from the `Git repository`_ or install it from the
|
||||||
Python Package Index by running ``pip install django-dbtemplates``.
|
Python Package Index by running ``pip install django-dbtemplates``.
|
||||||
2. Follow the instructions in the INSTALL file
|
2. Edit the settings.py of your Django site:
|
||||||
3. Edit the settings.py of your Django site:
|
|
||||||
|
|
||||||
* Add ``dbtemplates`` to the ``INSTALLED_APPS`` setting
|
* Add ``dbtemplates`` to the ``INSTALLED_APPS`` setting
|
||||||
|
|
||||||
|
|
@ -61,8 +60,8 @@ Setup
|
||||||
from the database to be used to override templates in other locations,
|
from the database to be used to override templates in other locations,
|
||||||
put ``dbtemplates.loader.Loader`` at the beginning of ``loaders``.
|
put ``dbtemplates.loader.Loader`` at the beginning of ``loaders``.
|
||||||
|
|
||||||
4. Sync your database ``python manage.py migrate``
|
3. Sync your database ``python manage.py migrate``
|
||||||
5. Restart your Django server
|
4. Restart your Django server
|
||||||
|
|
||||||
.. _Git repository: https://github.com/jazzband/django-dbtemplates/
|
.. _Git repository: https://github.com/jazzband/django-dbtemplates/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue