* status: new => closed
* resolution: => invalid
Comment:
If you want to use a custom admin site with `admindocs` you should still
point urls from `admin.site.urls`:
{{{
from django.contrib import admin
urlpatterns = [
path('admin/doc/', include('django.contrib.admindocs.urls')),
path("admin/", admin.site.urls),
]
}}}
Django will properly resolve `admin.site` to your custom `AdminSite`.
--
Ticket URL: <https://code.djangoproject.com/ticket/34494#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.