summaryrefslogtreecommitdiff
path: root/docs/topics
diff options
context:
space:
mode:
authorGreg Brown <greg@gregbrown.co.nz>2014-09-10 09:52:44 +1200
committerTim Graham <timograham@gmail.com>2014-09-09 20:10:00 -0400
commit77ec85adae4d975871758ad59aed073168c2c822 (patch)
tree316557fd7986310c5caabdd4dfaa1cb7a0110cb8 /docs/topics
parentc981d9140d569d489d338741b6a3d878c4e712da (diff)
[1.7.x] Note re migrations importing custom fields
Backport of b4d486c80f from master
Diffstat (limited to 'docs/topics')
-rwxr-xr-xdocs/topics/migrations.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/topics/migrations.txt b/docs/topics/migrations.txt
index 461801fb34..685c716f3c 100755
--- a/docs/topics/migrations.txt
+++ b/docs/topics/migrations.txt
@@ -333,7 +333,9 @@ They will, however, have the same fields, relationships and ``Meta`` options
References to functions in field options such as ``upload_to`` and
``limit_choices_to`` are serialized in migrations, so the functions will need
-to be kept around for as long as there is a migration referencing them.
+to be kept around for as long as there is a migration referencing them. Any
+:doc:`custom model fields </howto/custom-model-fields>` will also need to be
+kept, since these are imported directly by migrations.
In addition, the base classes of the model are just stored as pointers,
so you must always keep base classes around for as long as there is a migration