Skip to content

Commit

Permalink
fix: Linting issue in admin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun authored Jan 7, 2025
1 parent 4fb112c commit 3e6a497
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 += "?compare_to=%d" % queryset[1].pk
url += f"?compare_to={queryset[1].pk}"

return redirect(url)

Expand Down

0 comments on commit 3e6a497

Please sign in to comment.