#11495: Improvements to django.views.static.serve directory indexes
------------------------------+---------------------------------------
Reporter: SmileyChris | Owner: SmileyChris
Type: Bug | Status: assigned
Component: Core (Other) | Version: master
Severity: Normal | Resolution:
Keywords: static | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
------------------------------+---------------------------------------
Comment (by collinanderson):
My goal would be to start fully supporting using static.serve() (or
something like it) in production (in 1.9), but we wouldn't want to support
show_indexes in production.
Also, as mentioned, now that we have the staticfiles framework, this
little feature is a lot harder to get right.
It seems to me, if you want a web index of files, you could just run
`python3 -m http.server 8080`.
There's also this django-developers discussion:
https://groups.google.com/d/topic/django-developers/N0KbgDeLuUE/discussion
--
Ticket URL: <https://code.djangoproject.com/ticket/11495#comment:19>
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/069.0c2326a5f243c4aeeb5b0e7130373b20%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.