summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-04-04 11:53:56 -0400
committerTim Graham <timograham@gmail.com>2017-04-04 11:53:56 -0400
commit091fc3248f96391add0d10277558743e27de0bdd (patch)
treeeda969def44bb7a08a472b0adaacaf129d82e9ad
parent97e77b7bc14eafda704a01881cb2a3dc164947bc (diff)
[1.11.x] Updated man page for Django 1.11.
-rw-r--r--docs/man/django-admin.114
1 files changed, 12 insertions, 2 deletions
diff --git a/docs/man/django-admin.1 b/docs/man/django-admin.1
index bd0f7c5eac..e4014da1f6 100644
--- a/docs/man/django-admin.1
+++ b/docs/man/django-admin.1
@@ -1,6 +1,6 @@
.\" 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
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
to the app(s) specified and any dependencies needed (the table at the other end
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
.TP
.B \-\-noinput, \-\-no\-input
@@ -2160,7 +2163,7 @@ django\-admin migrate \-\-traceback
.UNINDENT
.INDENT 0.0
.TP
-.B \-\-verbosity {0,1,2,3}, \-\-v {0,1,2,3}
+.B \-\-verbosity {0,1,2,3}, \-v {0,1,2,3}
.UNINDENT
.sp
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
.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:
.INDENT 0.0
.INDENT 3.5