#23563: Make `staticfiles_storage` a public API
------------------------------------------------+------------------------
Reporter: aaugustin | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: contrib.staticfiles | Version: 1.7
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 1 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
This is a follow-up ticket to #23506, focused on the part of the problem I
believe we need to solve.
Django should provide a way to obtain the URL of static files other than
the `{% static %}` template tag. I haven't found one in the docs.
I think the easiest solution is to make
`django.contrib.staticfiles.storage.staticfiles_storage` a public API and
document that it implements the file storage API, especially the
[https://docs.djangoproject.com/en/1.7/ref/files/storage/#django.core.files.storage.Storage.url
url] method.
--
Ticket URL: <https://code.djangoproject.com/ticket/23563>
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/052.3f8b3885c2d35b44834ffae07dd7f126%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.