django-cms / djangocms-versioning

General purpose versioning package for Django CMS 4 and above.
Other
34 stars 30 forks source link

Django 5 redefined get_queryset in ChangeList #428

Closed bsenicar closed 3 weeks ago

bsenicar commented 1 month ago

Django 5 redefined get_queryset in ChangeList to include facets in filters.

class VersionChangeList in admin.py should be defined as:

class VersionChangeList(ChangeList): ... def get_queryset(self, request, exclude_parameters=None): ... queryset = super().get_queryset(request, exclude_parameters) ..

BR Borut