From 2e2d77f74f59d670c37448231a717f2fea56b3ef Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Fri, 21 Sep 2012 20:54:58 +0200 Subject: [PATCH] Added a note about the new command line option to the readme. --- README.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.rst b/README.rst index e041f29..ef2591d 100644 --- a/README.rst +++ b/README.rst @@ -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