Skip to content

Commit 759d770

Browse files
Update djangocms_versioning/admin.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
1 parent 90afce5 commit 759d770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djangocms_versioning/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def indicator(obj):
193193
request,
194194
status,
195195
content_obj._version,
196-
back=request.path_info + "?" + request.GET.urlencode(),
196+
back=f"{request.path_info}?{request.GET.urlencode()}",
197197
)
198198
if status
199199
else None

0 commit comments

Comments
 (0)