Updated man page for 2.2 final.
This commit is contained in:
parent
0027ca76c7
commit
f9f09a8a02
|
@ -1,6 +1,6 @@
|
||||||
.\" Man page generated from reStructuredText.
|
.\" Man page generated from reStructuredText.
|
||||||
.
|
.
|
||||||
.TH "DJANGO-ADMIN" "1" "January 17, 2019" "2.2" "Django"
|
.TH "DJANGO-ADMIN" "1" "April 01, 2019" "2.2" "Django"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
django-admin \- Utility script for the Django Web framework
|
django-admin \- Utility script for the Django Web framework
|
||||||
.
|
.
|
||||||
|
@ -34,16 +34,10 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||||||
\fBdjango\-admin\fP is Django\(aqs command\-line utility for administrative tasks.
|
\fBdjango\-admin\fP is Django\(aqs command\-line utility for administrative tasks.
|
||||||
This document outlines all it can do.
|
This document outlines all it can do.
|
||||||
.sp
|
.sp
|
||||||
In addition, \fBmanage.py\fP is automatically created in each Django project.
|
In addition, \fBmanage.py\fP is automatically created in each Django project. It
|
||||||
\fBmanage.py\fP does the same thing as \fBdjango\-admin\fP but takes care of a few
|
does the same thing as \fBdjango\-admin\fP but also sets the
|
||||||
things for you:
|
\fBDJANGO_SETTINGS_MODULE\fP environment variable so that it points to your
|
||||||
.INDENT 0.0
|
project\(aqs \fBsettings.py\fP file.
|
||||||
.IP \(bu 2
|
|
||||||
It puts your project\(aqs package on \fBsys.path\fP\&.
|
|
||||||
.IP \(bu 2
|
|
||||||
It sets the \fBDJANGO_SETTINGS_MODULE\fP environment variable so that
|
|
||||||
it points to your project\(aqs \fBsettings.py\fP file.
|
|
||||||
.UNINDENT
|
|
||||||
.sp
|
.sp
|
||||||
The \fBdjango\-admin\fP script should be on your system path if you installed
|
The \fBdjango\-admin\fP script should be on your system path if you installed
|
||||||
Django via its \fBsetup.py\fP utility. If it\(aqs not on your path, you can find it
|
Django via its \fBsetup.py\fP utility. If it\(aqs not on your path, you can find it
|
||||||
|
@ -1645,10 +1639,9 @@ Generate squashed migration file without Django version and timestamp header.
|
||||||
Creates a Django app directory structure for the given app name in the current
|
Creates a Django app directory structure for the given app name in the current
|
||||||
directory or the given destination.
|
directory or the given destination.
|
||||||
.sp
|
.sp
|
||||||
By default the directory created contains a \fBmodels.py\fP file and other app
|
By default, \fI\%the new directory\fP contains a
|
||||||
template files. (See the \fI\%source\fP for more details.) If only the app
|
\fBmodels.py\fP file and other app template files. If only the app name is given,
|
||||||
name is given, the app directory will be created in the current working
|
the app directory will be created in the current working directory.
|
||||||
directory.
|
|
||||||
.sp
|
.sp
|
||||||
If the optional destination is provided, Django will use that existing
|
If the optional destination is provided, Django will use that existing
|
||||||
directory rather than creating a new one. You can use \(aq.\(aq to denote the current
|
directory rather than creating a new one. You can use \(aq.\(aq to denote the current
|
||||||
|
@ -1764,9 +1757,9 @@ will be renamed to \fB\&.py\fP\&.
|
||||||
Creates a Django project directory structure for the given project name in
|
Creates a Django project directory structure for the given project name in
|
||||||
the current directory or the given destination.
|
the current directory or the given destination.
|
||||||
.sp
|
.sp
|
||||||
By default, the new directory contains \fBmanage.py\fP and a project package
|
By default, \fI\%the new directory\fP contains
|
||||||
(containing a \fBsettings.py\fP and other files). See the \fI\%template source\fP for
|
\fBmanage.py\fP and a project package (containing a \fBsettings.py\fP and other
|
||||||
details.
|
files).
|
||||||
.sp
|
.sp
|
||||||
If only the project name is given, both the project directory and project
|
If only the project name is given, both the project directory and project
|
||||||
package will be named \fB<projectname>\fP and the project directory
|
package will be named \fB<projectname>\fP and the project directory
|
||||||
|
|
Loading…
Reference in New Issue