mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
Added a note about the new command line option to the readme.
This commit is contained in:
parent
876000c6bf
commit
2e2d77f74f
1 changed files with 6 additions and 0 deletions
|
|
@ -46,6 +46,12 @@ import path as usual, e.g. in bash:
|
|||
|
||||
export DJANGO_SETTINGS_MODULE=mysite.settings
|
||||
|
||||
*Alternatively* supply the ``--configuration`` option when using Django
|
||||
management commands along the lines of Django's default ``--settings``
|
||||
command line option, e.g.::
|
||||
|
||||
python manage.py runserver --settings=mysite.settings --configuration=MySiteSettings
|
||||
|
||||
To enable Django to use your configuration you now have to modify your
|
||||
**manage.py** or **wsgi.py** script to use django-configurations's versions
|
||||
of the appropriate starter functions, e.g. a typical **manage.py** using
|
||||
|
|
|
|||
Loading…
Reference in a new issue