Opened 4 years ago
Last modified 4 years ago
#32150 closed Bug
Admin Docs No reverse match error — at Version 2
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 (last modified by )
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
Change History (2)
comment:1 by , 4 years ago
Description: | modified (diff) |
---|
comment:2 by , 4 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.