fixed #402
This commit is contained in:
@@ -1526,6 +1526,8 @@ def rower_register_view(request):
|
|||||||
theuser.email = email
|
theuser.email = email
|
||||||
theuser.save()
|
theuser.save()
|
||||||
|
|
||||||
|
birthdate = birthdate.replace(tzinfo=None)
|
||||||
|
|
||||||
therower = Rower(user=theuser,sex=sex,birthdate=birthdate,
|
therower = Rower(user=theuser,sex=sex,birthdate=birthdate,
|
||||||
weightcategory=weightcategory,
|
weightcategory=weightcategory,
|
||||||
adaptiveclass=adaptiveclass)
|
adaptiveclass=adaptiveclass)
|
||||||
@@ -13812,6 +13814,7 @@ def rower_edit_view(request,rowerid=0,userid=0,message=""):
|
|||||||
r.showfavoritechartnotes = showfavoritechartnotes
|
r.showfavoritechartnotes = showfavoritechartnotes
|
||||||
r.sex = sex
|
r.sex = sex
|
||||||
r.birthdate = birthdate
|
r.birthdate = birthdate
|
||||||
|
|
||||||
if resetbounce and r.emailbounced:
|
if resetbounce and r.emailbounced:
|
||||||
r.emailbounced = False
|
r.emailbounced = False
|
||||||
r.save()
|
r.save()
|
||||||
|
|||||||
Reference in New Issue
Block a user