Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit550c267

Browse files
authored
Fix redirect to patch edit page on creation (#6)
After [thisrefactor](a173224)of the patch URL, when you create a patch, you're still redirected tothe old patch URL, which no longer exists.
1 parent582a411 commit550c267

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎pgcommitfest/commitfest/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def newpatch(request, cfid):
432432
# Now add the thread
433433
try:
434434
doAttachThread(cf,patch,form.cleaned_data['threadmsgid'],request.user)
435-
returnHttpResponseRedirect("/%s/%s/edit/"% (cf.id,patch.id))
435+
returnHttpResponseRedirect("/patch/%s/edit/"% (patch.id,))
436436
exceptHttp404:
437437
# Thread not found!
438438
# This is a horrible breakage of API layers

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp