#19572: Unused argument in staticfiles.views.serve
-------------------------------+--------------------
Reporter: ostcar | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
The view 'django.contrib.staticfiles.views.serve' has the optional
argument 'document_root'. I guest that this argument can be used to serve
files from another path. But the argument is not used in this function, so
it does not serve other files in Django 1.4 or the development version.
You could either delete the argument, or merge this pull request:
https://github.com/django/django/pull/621
--
Ticket URL: <https://code.djangoproject.com/ticket/19572>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.