Private
Public Access
1
0

new user sample data

This commit is contained in:
Sander Roosendaal
2017-06-16 08:46:13 +02:00
parent 252be03e47
commit b0d6430e5b
3 changed files with 50 additions and 1 deletions

View File

@@ -688,7 +688,16 @@ def save_workout_database(f2,r,dosmooth=True,workouttype='rower',
# submit email task to send email about breakthrough workout
if isbreakthrough:
pass
if settings.DEBUG:
res = handle_sendemail_breakthrough(w.id,r.user.email,
r.user.first_name,
r.user.last_name)
else:
res = queuehigh.enqueue(
handle_sendemail_breakthrough(w.id,
r.user.email,
r.user.first_name,
r.user.last_name))
if privacy == 'visible':
ts = Team.objects.filter(rower=r)