Documentation for overriding static directory-listing template incorrect
|Reported by:||rnm@…||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The documentation at http://docs.djangoproject.com/en/dev/howto/static-files/ says to use a template called "static/directory_index.html" to override the default template for directory listings. This doesn't work, however. Inspection of the code in /django/views/static.py indicates the template should be called "static/directory_index", which does work.