#35057: Add a setting for project level callable/string for FileField's 
upload_to
-------------------------------------+-------------------------------------
     Reporter:  Vasanth              |                    Owner:  nobody
         Type:  New feature          |                   Status:  closed
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:  Files, models,       |             Triage Stage:
  storage                            |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

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


Comment:

 Thanks for this ticket, however creating a new setting is always
 controversial (we already have many of them), especially if there is a way
 to achieve the same. You can start a discussion on DevelopersMailingList
 if you don't agree.

 > ... was told having a custom field was the only way to go at the moment
 (ref: ​https://forum.djangoproject.com/t/settings-upload-to-at-project-
 level-settings/26334)

 Yes and that's the right way to do it.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/35057#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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018c8d5c529c-2abdcf03-f890-4aa7-946c-344dcf87c2ed-000000%40eu-central-1.amazonses.com.

Reply via email to