implemented make_plot
This commit is contained in:
@@ -30,13 +30,15 @@ queuelow = django_rq.get_queue('low')
|
||||
queuehigh = django_rq.get_queue('default')
|
||||
|
||||
# Sends a confirmation with a link to the workout
|
||||
def send_confirm(u,name,link):
|
||||
def send_confirm(u,name,link,options):
|
||||
fullemail = u.email
|
||||
subject = 'Workout added: '+name
|
||||
message = 'Dear '+u.first_name+',\n\n'
|
||||
message += "Your workout has been added to Rowsandall.com.\n"
|
||||
message += "Link to workout: "+link+"\n\n"
|
||||
message += "Best Regards, the Rowsandall Team"
|
||||
if options:
|
||||
message += "\n\n"+options
|
||||
|
||||
email = EmailMessage(subject,message,
|
||||
'Rowsandall <info@rowsandall.com>',
|
||||
|
||||
Reference in New Issue
Block a user