﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
31652	Admin site URLS do not respect APPEND_SLASH conf	Emmanuel Nosa E.	nobody	"If this is a design decision, then this ticket can be gracefully closed. 


== Description
Using the `APPEND_SLASH` setting, one would expect and does receive the intended behaviour from the configured urls, but to my notice, the admin urls are not respecting this, **they append a slash to the end of the url regardless**. 

== Reason
Over here in the django source code (https://github.com/django/django/blob/master/django/contrib/admin/sites.py) for `django.contrib.admin.sites`, every `url` within the `urlpatterns` of the `AdminSite.get_urls()` ends with a trailing slash. As seen here:
- https://github.com/django/django/blob/master/django/contrib/admin/sites.py#L256
- https://github.com/django/django/blob/master/django/contrib/admin/sites.py#L287

I simply suggest that the `APPEND_SLASH` setting is respected and the intended urls are returned. In as much as this doesn't hurt, it's an issue within the system, unless like i said earlier;

> **maybe it's a design decision**."	Uncategorized	closed	contrib.admin	3.0	Normal	invalid	append, slash, APPEND_SLASH, urls, admin		Unreviewed	0	0	0	0	0	0
