These are chat archives for django/django

15th
Jun 2015
webus
@webus
Jun 15 2015 06:52
hello to all. how can i configure my app in django for this task: i want to example.com/blog and example.com/blog/ is the same page without any redirects
Mir Nazim
@mnazim
Jun 15 2015 06:54
Set APPEND_SLASH = True in youer settings.
also ensure that CommonMiddleware is in the MIDDLEWARE_CLASSES
Sudheesh Singanamalla
@sudheesh001
Jun 15 2015 06:56
@webus You can also have a look at the following https://github.com/dghubble/django-unslashed also have a look at https://docs.djangoproject.com/en/dev/ref/settings/#append-slash APPEND_SLASH