#25553: Add lazy version of admin_static's static
-------------------------------+--------------------------------------
     Reporter:  dsanders11     |                    Owner:  nobody
         Type:  New feature    |                   Status:  closed
    Component:  contrib.admin  |                  Version:  master
     Severity:  Normal         |               Resolution:  wontfix
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  1              |                    UI/UX:  0
-------------------------------+--------------------------------------

Comment (by dsanders11):

 Replying to [comment:3 timgraham]:
 > Problem acknowledged -- it looks like #21221 describes the same issue.
 As I don't think the admin static template tag is the right place to
 address the issue I'll close this ticket as "wontfix" for that approach,
 and we can continue the discussion about a possible solution on the other
 ticket. Maybe a solution could be for the `BaseForm.media` property to do
 the `static` transformation instead?

 Fair enough. I figured this was a known issue (since many of the admin
 forms use the `static` template tag to get around it), so this was more of
 a quick fix patch for a corner case. Ideally `BaseForm.media` should do it
 so that it just works out of the box, but since #21221 is over 2 years old
 it doesn't seem like there's much motivation to fix the underlying issue.

--
Ticket URL: <https://code.djangoproject.com/ticket/25553#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 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/068.14b6e49dc859a67fe19638871e0d3e6d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to