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 10:03:03 -0400
commitfd183e1f819faa15a3205a1d9740ebfe3c8ebda0 (patch)
tree0f9f562b649125a66713507e13cfb91308f66725
parent2216cb5303649c2a114ea5af673bcc89d90f17b6 (diff)
[1.10.x] Doc'd how to remove old references in migration files.
Backport of 5bd967e1c52bfe811daffaccd3ef8964f8a3cb35 from master
-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 f1cd3a752f..6e8cf082b0 100644
--- a/docs/topics/migrations.txt
+++ b/docs/topics/migrations.txt
@@ -386,6 +386,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