Private
Public Access
1
0

Merge branch 'develop' of bitbucket.org:sanderroosendaal/rowsandall into develop

This commit is contained in:
Sander Roosendaal
2019-02-28 22:54:22 +01:00
5 changed files with 5 additions and 5 deletions

1
.gitignore vendored
View File

@@ -27,7 +27,6 @@ conftest.py
# temporary test files # temporary test files
/rowers/tests/testdata/temp /rowers/tests/testdata/temp
/rowers/tests/testdata/testdata.csv.gz /rowers/tests/testdata/testdata.csv.gz
rowers/tests/testdata/testdata.csv.gz
/rowers/tests/testdata/testdata.tcx /rowers/tests/testdata/testdata.tcx

View File

@@ -174,11 +174,11 @@ def workout_summary_to_df(
weightvalues.append(w.weightvalue) weightvalues.append(w.weightvalue)
notes.append(w.notes) notes.append(w.notes)
tcx_link = SITE_URL+'/rowers/workout/{id}/emailtcx'.format( tcx_link = SITE_URL+'/rowers/workout/{id}/emailtcx'.format(
id=w.id id=encoder.encode_hex(w.id)
) )
tcx_links.append(tcx_link) tcx_links.append(tcx_link)
csv_link = SITE_URL+'/rowers/workout/{id}/emailcsv'.format( csv_link = SITE_URL+'/rowers/workout/{id}/emailcsv'.format(
id=w.id id=encoder.encode_hex(w.id)
) )
csv_links.append(csv_link) csv_links.append(csv_link)
trimps.append(workout_trimp(w)[0]) trimps.append(workout_trimp(w)[0])

View File

@@ -318,7 +318,7 @@ def interactive_activitychart(workouts,startdate,enddate,stack='type'):
hv.extension('bokeh') hv.extension('bokeh')
table = hv.Table(df,[('date','Date'),('type','Workout Type')],[('duration','Duration')]) table = hv.Table(df,[('date','Date'),('type','Workout Type')],[('duration','Minutes')])
bars=table.to.bars(['date','type'],['duration']) bars=table.to.bars(['date','type'],['duration'])
bars.opts( bars.opts(

View File

@@ -1801,7 +1801,7 @@ def handle_sendemail_coachrequest_accepted(email,coachname,name,
} }
res = send_template_email(from_email,[fullemail], res = send_template_email(from_email,[fullemail],
subject,'coachrequestacceptedmail.html', subject,'coachrequestacceptedemail.html',
d, d,
**kwargs) **kwargs)
return 1 return 1

View File

@@ -42,6 +42,7 @@ CELERY_RESULT_SERIALIZER = 'json'
CELERY_TRACK_STARTED = True CELERY_TRACK_STARTED = True
CELERY_SEND_TASK_SENT_EVENT = True CELERY_SEND_TASK_SENT_EVENT = True
# GDAL_LIBRARY_PATH = 'C:/OSGeo4W64/bin/'
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = True