https://docs.djangoproject.com/en/1.9/ref/settings/#append-slash
But this shouldn't happen to you with URLs from within your
application, as long as you use the url template tag, and reverse for
redirects – those will generate correct URLs for you, including the
trailing slash, as long as it appears in the URL regex.
Cheers,
Michal