#34530: Remove docs suggestion to use lambda for models.FileField(storages=...)
-------------------------------+------------------------------------
     Reporter:  Ran Benita     |                    Owner:  nobody
         Type:  Uncategorized  |                   Status:  new
    Component:  Documentation  |                  Version:  4.2
     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 David Sanders):

 > So I think this paragraph should just be removed (the previous paragraph
 is good enough, using a named function).

 Personally I think an example involving `storages` is worth keeping though
 🤷‍♂️

 > Side note: it might have been nice to allow FileField(storage="foo")
 which will lazily take storages["foo"] and thus avoid the callable
 annoyance? But that's unrelated to this ticket.

 Seems like something worth raising on the forum.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34530#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/01070187dc3fae6a-4b7a17fd-b2f1-4b8c-81ae-908d17bd3d28-000000%40eu-central-1.amazonses.com.

Reply via email to