From 5bd967e1c52bfe811daffaccd3ef8964f8a3cb35 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 2 Sep 2016 09:59:40 -0400 Subject: [PATCH] Doc'd how to remove old references in migration files. --- docs/topics/migrations.txt | 3 +++ 1 file changed, 3 insertions(+) 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 ` +or, if there aren't many references, copy them into the migration files. + .. _migrations-removing-model-fields: Considerations when removing model fields