Changes between Initial Version and Version 1 of Ticket #33955


Ignore:
Timestamp:
Aug 24, 2022, 12:03:10 PM (19 months ago)
Author:
Greg Kaleka
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33955 – Description

    initial v1  
    11In 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
     3Reproduction steps:
     4
     51. Create a new project with Django 4.1
     62. Include `django.contrib.admindocs` in your installed apps
     73. Add the urls to your urlconf (`path("admindocs/", include("django.contrib.admindocs.urls"))
     84. Go to `localhost:8000/admindocs/views/` and click on any view to go to the `ViewDetailView`
    29
    310Quick and dirty fix in `django/contrib/admindocs/utils.py`:
Back to Top