Opened 4 years ago

Last modified 4 years ago

#32150 closed Bug

Admin Docs No reverse match error — at Initial Version

Reported by: Yovel Cohen Owned by: nobody
Component: contrib.admindocs Version: 3.0
Severity: Normal Keywords: Admin admin-docs docs, reverse-url
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

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/(
`
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

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top