Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added 'Available options' section to docs/django-admin.txt, and fixed…

… the inevitable ReST errors

git-svn-id: http://code.djangoproject.com/svn/django/trunk@472 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 066722db046eb95920d7b4929a11723af35191ab 1 parent 055f1d0
@adrianholovaty adrianholovaty authored
Showing with 21 additions and 1 deletion.
  1. +21 −1 docs/django-admin.txt
View
22 docs/django-admin.txt
@@ -20,7 +20,7 @@ which is optional, should be zero or more of the options listed in this
document.
Run ``django-admin.py --help`` to display a help message that includes a terse
-list of all available ``action``s and ``option``s.
+list of all available actions and options.
Most ``action``s take a list of "app"s. An "app," in this case, is the name of
a file containing Django models. For example, if you have a model module called
@@ -144,3 +144,23 @@ startproject [projectname]
Creates a Django project directory structure for the given project name in the
current directory.
+
+Available options
+=================
+
+--settings
+==========
+
+Example usage::
+
+ django-admin.py init --settings='myproject.settings.main'
+
+Explicitly specifies the settings module to use. The settings module should be
+in Python path syntax, e.g. "myproject.settings.main". If this isn't provided,
+``django-admin.py`` will use the DJANGO_SETTINGS_MODULE environment variable.
+
+--help
+======
+
+Displays a help message that includes a terse list of all available actions and
+options.
Please sign in to comment.
Something went wrong with that request. Please try again.