#32150: Admin Docs No reverse match error
-------------------------------------+-------------------------------------
               Reporter:  Yovel      |          Owner:  nobody
  Cohen                              |
                   Type:  Bug        |         Status:  new
              Component:             |        Version:  3.0
  contrib.admindocs                  |       Keywords:  Admin admin-docs
               Severity:  Normal     |  docs ,reverse-url
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 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

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32150>
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/053.8bb85abc473d2fc339b1d8265cad2006%40djangoproject.com.

Reply via email to