Skip to content

Commit

Permalink
Update admin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun authored Dec 9, 2024
1 parent 7e00415 commit a302737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djangocms_versioning/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ def compare_versions(self, request, queryset):
f"admin:{self.model._meta.app_label}_{self.model._meta.model_name}_compare",
args=(queryset[0].pk,),
)
url += f"?compare_to={queryset[1].pk}"
url += f"?compare_to={queryset[1].pk}"

return redirect(url)

Expand Down

0 comments on commit a302737

Please sign in to comment.