mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[3.0.x] Updated man page for Django 3.0 beta.
This commit is contained in:
parent
4a756cbc38
commit
bf8c562209
@ -1,6 +1,6 @@
|
|||||||
.\" Man page generated from reStructuredText.
|
.\" 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
|
.SH NAME
|
||||||
django-admin \- Utility script for the Django Web framework
|
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
|
\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
|
the named migration is applied, but no later migrations in the same app are
|
||||||
applied. This may involve unapplying migrations if you have previously
|
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.
|
migrations for an app.
|
||||||
.UNINDENT
|
.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
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
.B \-\-database DATABASE
|
.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
|
don\(aqt access the same resources. For instance, test cases that touch the
|
||||||
filesystem should create a temporary directory for their own use.
|
filesystem should create a temporary directory for their own use.
|
||||||
.sp
|
.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
|
This option requires the third\-party \fBtblib\fP package to display tracebacks
|
||||||
correctly:
|
correctly:
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user