summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-09-02 09:59:40 -0400
committerTim Graham <timograham@gmail.com>2016-09-02 09:59:40 -0400
commit5bd967e1c52bfe811daffaccd3ef8964f8a3cb35 (patch)
tree899f66b870e68e34896eb4b592e1edd885f919e8
parentbd3dc670b53d1742d317d2a088a9d145ce0083d7 (diff)
downloaddjango-5bd967e1c52bfe811daffaccd3ef8964f8a3cb35.tar.gz
Doc'd how to remove old references in migration files.
-rw-r--r--docs/topics/migrations.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/topics/migrations.txt b/docs/topics/migrations.txt
index 0c04fe7295..41d8727f21 100644
--- a/docs/topics/migrations.txt
+++ b/docs/topics/migrations.txt
@@ -384,6 +384,9 @@ contains a reference to them. On the plus side, methods and managers from these
base classes inherit normally, so if you absolutely need access to these you
can opt to move them into a superclass.
+To remove old references, you can :ref:`squash migrations <migration-squashing>`
+or, if there aren't many references, copy them into the migration files.
+
.. _migrations-removing-model-fields:
Considerations when removing model fields