#22436: migrations fail on custom upload_to on ImageField
-------------------------------------+-------------------------------------
Reporter: David Binetti | Owner:
<dbinetti@…> | chriscauley
Type: Bug | Status: assigned
Component: Migrations | Version: master
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by MarkusH):
* cc: info@… (added)
* version: 1.7-beta-1 => master
* severity: Normal => Release blocker
Comment:
Django's migrations should represent the ''exact'' state the model has at
a given time. This includes all arguments defined on fields. I therefore
disagree with your change. I'd stick with defining a function outside the
class.
I furthermore set this as a release blocker, as @andrewgodwin should have
a look at this as well.
--
Ticket URL: <https://code.djangoproject.com/ticket/22436#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/092.cca41bd7d443daa9ff48efe4cbdd6729%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.