Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2019-01-01 17:36:20 +01:00
parent ef0fa44d34
commit 43c5981dd3

View File

@@ -1526,6 +1526,8 @@ def rower_register_view(request):
theuser.email = email
theuser.save()
birthdate = birthdate.replace(tzinfo=None)
therower = Rower(user=theuser,sex=sex,birthdate=birthdate,
weightcategory=weightcategory,
adaptiveclass=adaptiveclass)
@@ -13812,6 +13814,7 @@ def rower_edit_view(request,rowerid=0,userid=0,message=""):
r.showfavoritechartnotes = showfavoritechartnotes
r.sex = sex
r.birthdate = birthdate
if resetbounce and r.emailbounced:
r.emailbounced = False
r.save()