diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-08-10 20:29:55 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-08-10 20:29:55 +0000 |
| commit | 066722db046eb95920d7b4929a11723af35191ab (patch) | |
| tree | 2166b3b97e45e0f015e7950e5315b83dfd6f2765 /docs | |
| parent | 055f1d0de6086640fd0f2c3b0fd577f12acb8d78 (diff) | |
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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/django-admin.txt | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/docs/django-admin.txt b/docs/django-admin.txt index ae19547e59..799964d4d2 100644 --- a/docs/django-admin.txt +++ b/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. |
