#34540: [feature request] Run FileField storage callable during runtime and not
during buildtime
--------------------------------------+------------------------------------
     Reporter:  Vasanth               |                    Owner:  nobody
         Type:  New feature           |                   Status:  closed
    Component:  File uploads/storage  |                  Version:  dev
     Severity:  Normal                |               Resolution:  wontfix
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by Natalia Bidart):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 Replying to [comment:4 Mariusz Felisiak]:
 > Also, this is a
 [https://docs.djangoproject.com/en/stable/topics/files/#using-a-callable
 documented] behavior so we cannot change it without the deprecation path:
 > > ''"Your callable will be evaluated when your models classes are
 loaded, and must return an instance of Storage."''
 >
 > -1 from me.

 Good point, I'll close for now as `wontfix`, then if there is enough
 traction in the forum we can revisit. Thanks!

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34540#comment:5>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187e8363d83-155da720-79a2-448f-9de2-36d89d55fcc0-000000%40eu-central-1.amazonses.com.

Reply via email to