summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2019-10-14 11:55:27 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-10-14 11:55:27 +0200
commitbf8c562209d56449b26c6d9022d1772712272515 (patch)
tree6137b76ed725a1ec19600eebb05961b3870a5288
parent4a756cbc383bdefb683f03a0d40c0d0630ba3f60 (diff)
[3.0.x] Updated man page for Django 3.0 beta.
-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 c1f8954e4a..f16dac8ad8 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 10, 2019" "3.0" "Django"
+.TH "DJANGO-ADMIN" "1" "October 14, 2019" "3.0" "Django"
.SH NAME
django-admin \- Utility script for the Django Web framework
.
@@ -1114,9 +1114,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
@@ -1946,6 +1957,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