diff options
author | Tim Graham <timograham@gmail.com> | 2016-09-02 09:59:40 -0400 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-09-02 09:59:40 -0400 |
commit | 5bd967e1c52bfe811daffaccd3ef8964f8a3cb35 (patch) | |
tree | 899f66b870e68e34896eb4b592e1edd885f919e8 | |
parent | bd3dc670b53d1742d317d2a088a9d145ce0083d7 (diff) | |
download | django-5bd967e1c52bfe811daffaccd3ef8964f8a3cb35.tar.gz |
Doc'd how to remove old references in migration files.
-rw-r--r-- | docs/topics/migrations.txt | 3 |
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 |