1
0
mirror of https://github.com/django/django.git synced 2025-06-05 03:29:12 +00:00

[1.11.x] Updated man page for Django 1.11.

This commit is contained in:
Tim Graham 2017-04-04 11:53:56 -04:00
parent 97e77b7bc1
commit 091fc3248f

View File

@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText. .\" Man page generated from reStructuredText.
. .
.TH "DJANGO-ADMIN" "1" "January 17, 2017" "1.11" "Django" .TH "DJANGO-ADMIN" "1" "April 04, 2017" "1.11" "Django"
.SH NAME .SH NAME
django-admin \- Utility script for the Django Web framework django-admin \- Utility script for the Django Web framework
. .
@ -931,6 +931,9 @@ the migrations documentation\&.
Providing one or more app names as arguments will limit the migrations created Providing one or more app names as arguments will limit the migrations created
to the app(s) specified and any dependencies needed (the table at the other end to the app(s) specified and any dependencies needed (the table at the other end
of a \fBForeignKey\fP, for example). of a \fBForeignKey\fP, for example).
.sp
To add migrations to an app that doesn\(aqt have a \fBmigrations\fP directory, run
\fBmakemigrations\fP with the app\(aqs \fBapp_label\fP\&.
.INDENT 0.0 .INDENT 0.0
.TP .TP
.B \-\-noinput, \-\-no\-input .B \-\-noinput, \-\-no\-input
@ -2160,7 +2163,7 @@ django\-admin migrate \-\-traceback
.UNINDENT .UNINDENT
.INDENT 0.0 .INDENT 0.0
.TP .TP
.B \-\-verbosity {0,1,2,3}, \-\-v {0,1,2,3} .B \-\-verbosity {0,1,2,3}, \-v {0,1,2,3}
.UNINDENT .UNINDENT
.sp .sp
Specifies the amount of notification and debug information that a command Specifies the amount of notification and debug information that a command
@ -2452,6 +2455,13 @@ management.call_command(\(aqdumpdata\(aq, use_natural_foreign_keys=True)
.UNINDENT .UNINDENT
.UNINDENT .UNINDENT
.sp .sp
Some command options have different names when using \fBcall_command()\fP instead
of \fBdjango\-admin\fP or \fBmanage.py\fP\&. For example, \fBdjango\-admin
createsuperuser \-\-no\-input\fP translates to \fBcall_command(\(aqcreatesuperuser\(aq,
interactive=False)\fP\&. To find what keyword argument name to use for
\fBcall_command()\fP, check the command\(aqs source code for the \fBdest\fP argument
passed to \fBparser.add_argument()\fP\&.
.sp
Command options which take multiple options are passed a list: Command options which take multiple options are passed a list:
.INDENT 0.0 .INDENT 0.0
.INDENT 3.5 .INDENT 3.5