diff --git a/rowers/views.py b/rowers/views.py index 4cd13953..63c691da 100644 --- a/rowers/views.py +++ b/rowers/views.py @@ -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()