ability to change weight for single scullers
This commit is contained in:
@@ -13501,15 +13501,10 @@ def virtualevent_register_view(request,id=0):
|
||||
cd = form.cleaned_data
|
||||
teamname = cd['teamname']
|
||||
boattype = cd['boattype']
|
||||
if not boattype == '1x':
|
||||
weightcategory = cd['weightcategory']
|
||||
age = cd['age']
|
||||
else:
|
||||
weightcategory = r.weightcategory
|
||||
if r.birthdate:
|
||||
age = calculate_age(r.birthdate)
|
||||
else:
|
||||
age = cd['age']
|
||||
weightcategory = cd['weightcategory']
|
||||
age = cd['age']
|
||||
if boattype == '1x' and r.birthdate:
|
||||
age = calculate_age(r.birthdate)
|
||||
|
||||
record = VirtualRaceResult(
|
||||
userid=r.id,
|
||||
|
||||
Reference in New Issue
Block a user