#34540: [feature request] Run FileField storage callable during runtime and not
during buildtime
--------------------------------------+------------------------------------
Reporter: Vasanth | Owner: nobody
Type: New feature | Status: new
Component: File uploads/storage | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by 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."''
--
Ticket URL: <https://code.djangoproject.com/ticket/34540#comment:4>
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/01070187e7fc0be9-3179e2b4-b12b-4b30-8295-245c9156d98b-000000%40eu-central-1.amazonses.com.