#22436: migrations fail on custom upload_to on ImageField
-------------------------------------+-------------------------------------
     Reporter:  David Binetti        |                    Owner:
  <dbinetti@…>                       |  andrewgodwin
         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 andrewgodwin):

 * owner:  chriscauley => andrewgodwin


Comment:

 I can't find this `six.get_qualname` function, and even then, if it uses
 `im_func` it's not going to work on function references passed in from
 within the class body (as these are not yet methods).

 I think this may be impossible to solve on Python 2; we might have to add
 a check where the serializer tries to re-import it and fails if it can't
 find it, so we can at least give a nice error message.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22436#comment:12>
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.d3a6286b525f3b32c1c418fa105f781a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to