Changes between Initial Version and Version 1 of Ticket #33955
- Timestamp:
- Aug 24, 2022, 12:03:10 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33955 – Description
initial v1 1 1 In Django 4.1, the admindocs `ViewDetailView` raises an `AttributeError`. I'm not clear on why `_active` is missing the `local_value` attribute when `_is_callback` is called. 2 3 Reproduction steps: 4 5 1. Create a new project with Django 4.1 6 2. Include `django.contrib.admindocs` in your installed apps 7 3. Add the urls to your urlconf (`path("admindocs/", include("django.contrib.admindocs.urls")) 8 4. Go to `localhost:8000/admindocs/views/` and click on any view to go to the `ViewDetailView` 2 9 3 10 Quick and dirty fix in `django/contrib/admindocs/utils.py`: