#32150: Admin Docs No reverse match error
-------------------------------------+-------------------------------------
Reporter: Yovel Cohen | Owner: nobody
Type: Bug | Status: new
Component: contrib.admindocs | Version: 3.0
Severity: Normal | Resolution:
Keywords: Admin admin-docs | Triage Stage:
docs ,reverse-url | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by Yovel Cohen:
Old description:
> I'm trying to install the Admin Docs:
> my urls:
> ```python
>
> urlpatterns = [
> # ADMIN
> path('admin/', consumer_admin.urls),
> path('admin/doc/', include('django.contrib.admindocs.urls')),
> # rest of urls...
> ]
> ```
> installed apps:
> ```python
> installed_apps = [
> 'django.contrib.admindocs',
> 'django.contrib.admin',
> # rest of apps
> ]
> ```
> when I try to access the docs from the admin I get the following error:
> ```python
> NoReverseMatch at /admin/doc/
> Reverse for 'app_list' with keyword arguments '{'app_label': 'auth'}' not
> found. 1 pattern(s) tried:
> ['admin/(?P<app_label>consumer_api|users|authtoken)/$']
> ```
> all the model's admins in my app (including users and auth token) reside
> in my custom consumer admin,
> not sure if it is related to the issue or not
New description:
I'm trying to install the Admin Docs:
my urls:
```
urlpatterns = [
# ADMIN
path('admin/', consumer_admin.urls),
path('admin/doc/', include('django.contrib.admindocs.urls')),
# rest of urls...
]
```
installed apps:
```
installed_apps = [
'django.contrib.admindocs',
'django.contrib.admin',
# rest of apps
]
```
when I try to access the docs from the admin I get the following error:
```
NoReverseMatch at /admin/doc/
Reverse for 'app_list' with keyword arguments '{'app_label': 'auth'}' not
found. 1 pattern(s) tried:
['admin/(?P<app_label>consumer_api|users|authtoken)/$']
```
all the model's admins in my app (including users and auth token) reside
in my custom consumer admin,
not sure if it is related to the issue or not
--
--
Ticket URL: <https://code.djangoproject.com/ticket/32150#comment:1>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.9f15ab05590642a54b8bb4e610e3f4fa%40djangoproject.com.