Permalink
Browse files

Added a note about the new command line option to the readme.

  • Loading branch information...
1 parent 876000c commit 2e2d77f74f59d670c37448231a717f2fea56b3ef @jezdez jezdez committed Sep 21, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.rst
View
@@ -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

0 comments on commit 2e2d77f

Please sign in to comment.