summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/man/django-admin.124
1 files changed, 22 insertions, 2 deletions
diff --git a/docs/man/django-admin.1 b/docs/man/django-admin.1
index 1ab6f57e59..5b7e4d06bc 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" "September 02, 2019" "2.2" "Django"
+.TH "DJANGO-ADMIN" "1" "November 04, 2019" "2.2" "Django"
.SH NAME
django-admin \- Utility script for the Django Web framework
.
@@ -1095,9 +1095,20 @@ to dependencies.
\fB<app_label> <migrationname>\fP: Brings the database schema to a state where
the named migration is applied, but no later migrations in the same app are
applied. This may involve unapplying migrations if you have previously
-migrated past the named migration. Use the name \fBzero\fP to unapply all
+migrated past the named migration. You can use a prefix of the migration
+name, e.g. \fB0001\fP, as long as it\(aqs unique for the given app name. Use the
+name \fBzero\fP to migrate all the way back i.e. to revert all applied
migrations for an app.
.UNINDENT
+.sp
+\fBWARNING:\fP
+.INDENT 0.0
+.INDENT 3.5
+When unapplying migrations, all dependent migrations will also be
+unapplied, regardless of \fB<app_label>\fP\&. You can use \fB\-\-plan\fP to check
+which migrations will be unapplied.
+.UNINDENT
+.UNINDENT
.INDENT 0.0
.TP
.B \-\-database DATABASE
@@ -1917,6 +1928,15 @@ Each process gets its own database. You must ensure that different test cases
don\(aqt access the same resources. For instance, test cases that touch the
filesystem should create a temporary directory for their own use.
.sp
+\fBNOTE:\fP
+.INDENT 0.0
+.INDENT 3.5
+If you have test classes that cannot be run in parallel, you can use
+\fBSerializeMixin\fP to run them sequentially. See Enforce running test
+classes sequentially\&.
+.UNINDENT
+.UNINDENT
+.sp
This option requires the third\-party \fBtblib\fP package to display tracebacks
correctly:
.INDENT 0.0