#18455: Added hooks to Media for staticfiles app
-----------------------------+------------------------------------
     Reporter:  djw          |                    Owner:  nobody
         Type:  New feature  |                   Status:  new
    Component:  Forms        |                  Version:  master
     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 jaylett):

 How should this work with 3rd party apps? `contrib.admin` implements its
 own switcher between `staticfiles` and the simpler `static` built-in
 template tag; perhaps `staticfiles` should provide such a switcher itself
 that anyone could use (allowing it to be used in `ModelAdmin.Media` and
 `Widget.Media` inner classes, for instance), and then building the
 `staticfiles` subclass of (new, putative) `Static` around it, meaning that
 re-usable apps could use that without either tying people into using
 `staticfiles` or stopping people from using it. (And preventing everyone
 having to re-implement the same thing independently.)

--
Ticket URL: <https://code.djangoproject.com/ticket/18455#comment:6>
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/061.b311654402470afc56758fd769e68d69%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to