#24368: FileField needlessly serializes upload_to
-------------------------------+--------------------------------------
     Reporter:  rdaysky        |                    Owner:  nobody
         Type:  Uncategorized  |                   Status:  new
    Component:  Migrations     |                  Version:  1.7
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------

Comment (by rdaysky):

 Alternatively, a better way might be to serialize lambdas to something
 that raises NotImplementedError. Also, given that upload_to and other
 fields might matter in case migrations contain RunPython blocks, a warning
 could be appropriate if both unserializable non-essential fields and
 RunPython are encountered.

 Anything would be preferable to the current situation.

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

Reply via email to