You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the BaseCompareVersionAdmin.compare_view method, the current implementation of object retrieval uses get_object_or_404 for the model. This method uses _default_manager, which makes it impossible to work with logically deleted objects. It would be nice to have a separate method for getting an object or something like that, so it can be easily overridden and work with the needed queryset.
The text was updated successfully, but these errors were encountered:
In the
BaseCompareVersionAdmin.compare_view
method, the current implementation of object retrieval usesget_object_or_404
for the model. This method uses_default_manager
, which makes it impossible to work with logically deleted objects. It would be nice to have a separate method for getting an object or something like that, so it can be easily overridden and work with the needed queryset.The text was updated successfully, but these errors were encountered: