0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

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
This commit is contained in:
Adrian Holovaty 2005-08-10 20:29:55 +00:00
parent 055f1d0de6
commit 066722db04

View File

@ -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.