summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDavid Vaz <davidmgvaz@gmail.com>2019-09-27 09:41:49 -0700
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-09-27 19:48:54 +0200
commitabba563c8635a52e8b657dee7708202e1f69433c (patch)
treec2ada82235ff43dd5b8389b6f076953a7f2e339e /docs
parent95a11578ce41de1e152fe7d173f109e280aebd6d (diff)
Refs #30597 -- Added a warning about dependent apps when unapplying migrations.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/django-admin.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 1e9144b985..690ca76ba4 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -805,6 +805,12 @@ The behavior of this command changes depending on the arguments provided:
migrated past the named migration. Use the name ``zero`` to unapply all
migrations for an app.
+.. warning::
+
+ When unapplying migrations, all dependent migrations will also be
+ unapplied, regardless of ``<app_label>``. You can use ``--plan`` to check
+ which migrations will be unapplied.
+
.. django-admin-option:: --database DATABASE
Specifies the database to migrate. Defaults to ``default``.