From 066722db046eb95920d7b4929a11723af35191ab Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Wed, 10 Aug 2005 20:29:55 +0000 Subject: [PATCH] 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 --- docs/django-admin.txt | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) 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.