Hey Hans,
As stated in the Docs
(https://docs.djangoproject.com/en/1.7/topics/migrations/#historical-models)
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 migr
I'm having a problem generating migrations after changing the function used
for the upload_to parameter on a FileField. After removing the old function
from my code and switching to using a closure to generate the function used
by upload_to I get the following exception upon running makemigratio
2 matches
Mail list logo