#28631: admin.site.urls returns 3-tuple, not 2-tuple.
----------------------------------------------+------------------------
Reporter: Sjoerd Job Postmus | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 2.0
Severity: Release blocker | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
----------------------------------------------+------------------------
Returning a 3-tuple has been deprecated, and removed in
https://github.com/django/django/commit/ad393beeb71e8774e4bf9ad842b97022e50f1231
#diff-c479b67ee71bdbef4cc04b2663b8fce8 .
However, looking at the definition of `admin.site.urls`:
https://github.com/django/django/blob/master/django/contrib/admin/sites.py#L284
, we see it returning a 3-tuple.
```
ImproperlyConfigured at /
Passing a 3-tuple to include() is not supported. Pass a 2-tuple containing
the list of patterns and app_name, and provide the namespace argument to
include() instead.
```
--
Ticket URL: <https://code.djangoproject.com/ticket/28631>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.96349e82a9f578718942d531c171f95d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.