#22337: makemigrations not working when Field takes FileSystemStorage parameter
-------------------------------------+-------------------------------------
     Reporter:  nliberg              |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Migrations           |                  Version:
     Severity:  Release blocker      |  1.7-beta-1
     Keywords:  FileSystemStorage,   |               Resolution:
  migrations                         |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by loic84):

 Why not using `®deconstructible` from `django.utils.deconstruct`? That
 should work with most subclasses of storage without extra efforts from
 their authors'.

 Regarding skipping storage in `deconstruct()`, that means `FileField`
 wouldn't work in `RunPython` operation, I'd rather keep the fake ORM as
 capable as possible.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22337#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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.ac50763f81ce6cb7c6722bffcf2167cc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to