#21221: Widgets and Admin's Media should use the configured staticfiles storage 
to
create the right path to a file
-------------------------------------+-------------------------------------
     Reporter:  Guilherme Gondim     |                    Owner:
  <semente@…>                        |
         Type:  Bug                  |                   Status:  new
    Component:  contrib.staticfiles  |                  Version:  1.5
     Severity:  Normal               |               Resolution:
     Keywords:  staticfiles, admin,  |             Triage Stage:  Accepted
  CachedFilesMixin, media, widgets   |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by mlorant):

 No patch from antonpp in seven months, so I allowed myself to set this
 ticket to  ''new'' again. Solution proposed by dsanders seems fine, but I
 think we should be cautious and not re-process the URL at each
 page/template generated (the static URL should not changed in time, unless
 we call `collectstatic`)...

 For information got the same problem when using a third-party library
 (django-select2) in a project using a CDN : https://github.com/applegrew
 /django-select2/issues/221#issuecomment-153666276

--
Ticket URL: <https://code.djangoproject.com/ticket/21221#comment:7>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/097.51a7836ff336255cabb6aee90e096961%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to