mirror of
https://github.com/zulip/zulip.git
synced 2026-07-18 21:04:19 +08:00
I looked around the Django docs for a more future-proof way of addressing this problem of wanting both /apps and /apps/ to work. It doesn't seem like there is. Note that APPEND_SLASH is default True, so we're getting a / appended automatically if there's no URL match without the /: https://docs.djangoproject.com/en/dev/ref/settings/#append-slash http://stackoverflow.com/a/11690144 points out making the slash optional in the URL regex, but a commenter points out that this is bad for SEO. (imported from commit 8e883fb786c583fe5f561f14473211f6b100cecf) |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| authhack.py | ||
| backends.py | ||
| local_settings.py | ||
| settings.py | ||
| test_settings.py | ||
| urls.py | ||
| wsgi.py | ||