tickets: 8671
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8671 | 2008-08-29 08:44:10 | 2008-08-29 16:57:23 | 2022-03-06 03:42:52.025743 | Unreviewed | closed | Core (Other) | dev | worksforme | django.views.static.serve shoud have APPEND_SLASH=True | When running debug server with some .js .css file using django.views.static.serve while 'show_indexes': True, example, navigate to http://127.0.0.1:8000/images when click a 1.jpg listed bellow, I was navigate to http://127.0.0.1:8000/1.jpg But what I desired URL is http://127.0.0.1:8000/images/1.jpg The problem is we should set APPEND_SLASH=True as default here in django.views.static.serve | nobody | est | static | 0 | 0 | 0 | 0 | 0 | 0 |