bug fix
This commit is contained in:
@@ -5205,10 +5205,13 @@ def workout_upload_view(request,
|
|||||||
'id':race.id,
|
'id':race.id,
|
||||||
})
|
})
|
||||||
except UnboundLocalError:
|
except UnboundLocalError:
|
||||||
url = reverse(landingpage,
|
if landingpage != 'workout_upload_view':
|
||||||
|
url = reverse(landingpage,
|
||||||
kwargs = {
|
kwargs = {
|
||||||
'id':encoder.encode_hex(w.id),
|
'id':encoder.encode_hex(w.id),
|
||||||
})
|
})
|
||||||
|
else:
|
||||||
|
url = reverse(landingpage)
|
||||||
elif landingpage != 'workout_upload_view':
|
elif landingpage != 'workout_upload_view':
|
||||||
url = reverse(landingpage,
|
url = reverse(landingpage,
|
||||||
kwargs = {
|
kwargs = {
|
||||||
|
|||||||
Reference in New Issue
Block a user