fixed bug
This commit is contained in:
@@ -5199,10 +5199,16 @@ def workout_upload_view(request,
|
||||
|
||||
|
||||
if registrationid != 0:
|
||||
url = reverse('virtualevent_view',
|
||||
try:
|
||||
url = reverse('virtualevent_view',
|
||||
kwargs = {
|
||||
'id':race.id,
|
||||
})
|
||||
except UnboundLocalError:
|
||||
url = reverse(landingpage,
|
||||
kwargs = {
|
||||
'id':encoder.encode_hex(w.id),
|
||||
})
|
||||
elif landingpage != 'workout_upload_view':
|
||||
url = reverse(landingpage,
|
||||
kwargs = {
|
||||
|
||||
Reference in New Issue
Block a user