Skip to content

Commit 091fc32

Browse files
committed
[1.11.x] Updated man page for Django 1.11.
1 parent 97e77b7 commit 091fc32

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

docs/man/django-admin.1

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" Man page generated from reStructuredText.
22
.
3-
.TH "DJANGO-ADMIN" "1" "January 17, 2017" "1.11" "Django"
3+
.TH "DJANGO-ADMIN" "1" "April 04, 2017" "1.11" "Django"
44
.SH NAME
55
django-admin \- Utility script for the Django Web framework
66
.
@@ -931,6 +931,9 @@ the migrations documentation\&.
931931
Providing one or more app names as arguments will limit the migrations created
932932
to the app(s) specified and any dependencies needed (the table at the other end
933933
of a \fBForeignKey\fP, for example).
934+
.sp
935+
To add migrations to an app that doesn\(aqt have a \fBmigrations\fP directory, run
936+
\fBmakemigrations\fP with the app\(aqs \fBapp_label\fP\&.
934937
.INDENT 0.0
935938
.TP
936939
.B \-\-noinput, \-\-no\-input
@@ -2160,7 +2163,7 @@ django\-admin migrate \-\-traceback
21602163
.UNINDENT
21612164
.INDENT 0.0
21622165
.TP
2163-
.B \-\-verbosity {0,1,2,3}, \-\-v {0,1,2,3}
2166+
.B \-\-verbosity {0,1,2,3}, \-v {0,1,2,3}
21642167
.UNINDENT
21652168
.sp
21662169
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)
24522455
.UNINDENT
24532456
.UNINDENT
24542457
.sp
2458+
Some command options have different names when using \fBcall_command()\fP instead
2459+
of \fBdjango\-admin\fP or \fBmanage.py\fP\&. For example, \fBdjango\-admin
2460+
createsuperuser \-\-no\-input\fP translates to \fBcall_command(\(aqcreatesuperuser\(aq,
2461+
interactive=False)\fP\&. To find what keyword argument name to use for
2462+
\fBcall_command()\fP, check the command\(aqs source code for the \fBdest\fP argument
2463+
passed to \fBparser.add_argument()\fP\&.
2464+
.sp
24552465
Command options which take multiple options are passed a list:
24562466
.INDENT 0.0
24572467
.INDENT 3.5

0 commit comments

Comments
 (0)