Migrations are mainly for tracking database changes. Model attributes not 
SQL related are pushed into the migrations also, presumably for the 
purposes of data migrations (maybe post-hoc justification, only a few 
people would actually know). Providing a callable still provides access to 
the data as defined as migration time. But for dynamic content like 
choices, the set of production values can and will differ from the set of 
dev values. 

Perhaps there should be a more general mechanism for opting specific kwargs 
out of migrations - I don't know.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/382314ae-b3e4-4ce6-be34-135060978317%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to