mirror of
https://github.com/django/django.git
synced 2025-04-10 08:19:39 +00:00
[1.10.x] Doc'd how to remove old references in migration files.
Backport of 5bd967e1c52bfe811daffaccd3ef8964f8a3cb35 from master
This commit is contained in:
parent
2216cb5303
commit
fd183e1f81
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user