#24192: Deprecate django.templatetags.static
--------------------------------------+--------------------
Reporter: doismellburning | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Uncategorized | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+--------------------
As far as I can see, since `django.contrib.staticfiles` was merged in,
there's no reason to use `django.templatetags.static` and plenty of
reasons not to (e.g. it makes assumptions about the existence of
`STATIC_URL`)
The fact it provides a tag of the same name as the "correct" tag from
`staticfiles` doesn't help either.
Could it be deprecated?
(And if I wanted to follow up with an accompanying PR, should I be using
`RemovedIn110Warning` or `RemovedIn20Warning` (the latter of which has
several instances, but surprises me slightly)
--
Ticket URL: <https://code.djangoproject.com/ticket/24192>
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/058.c056a0ef06937d4eea44bfe4da67c3eb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.