#24192: Deprecate django.templatetags.static
-------------------------------------+-------------------------------------
Reporter: doismellburning | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Uncategorized | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by doismellburning):
So `django.contrib.admin.templatetags.admin_static` tries to use
`django.contrib.staticfiles.templatetags.staticfiles` if the app's there,
otherwise falls back to `django.templatetags.static`.
Can anyone provide guidance as to "improved" behaviour there please? Is
there any kind of policy against apps from contrib depending on one
another? Is it reasonable for `d.c.admin` to assume/require
`d.c.staticfiles`? If the latter, can anyone point me to an existing
example so I can crib from its mechanisms please?
--
Ticket URL: <https://code.djangoproject.com/ticket/24192#comment:3>
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/073.bb27fbd46bd3d28cfc198a9af0cc2abd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.