Merge branch 'develop' of bitbucket.org:sanderroosendaal/rowsandall into develop
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -27,7 +27,6 @@ conftest.py
|
||||
# temporary test files
|
||||
/rowers/tests/testdata/temp
|
||||
/rowers/tests/testdata/testdata.csv.gz
|
||||
rowers/tests/testdata/testdata.csv.gz
|
||||
/rowers/tests/testdata/testdata.tcx
|
||||
|
||||
|
||||
|
||||
@@ -174,11 +174,11 @@ def workout_summary_to_df(
|
||||
weightvalues.append(w.weightvalue)
|
||||
notes.append(w.notes)
|
||||
tcx_link = SITE_URL+'/rowers/workout/{id}/emailtcx'.format(
|
||||
id=w.id
|
||||
id=encoder.encode_hex(w.id)
|
||||
)
|
||||
tcx_links.append(tcx_link)
|
||||
csv_link = SITE_URL+'/rowers/workout/{id}/emailcsv'.format(
|
||||
id=w.id
|
||||
id=encoder.encode_hex(w.id)
|
||||
)
|
||||
csv_links.append(csv_link)
|
||||
trimps.append(workout_trimp(w)[0])
|
||||
|
||||
@@ -318,7 +318,7 @@ def interactive_activitychart(workouts,startdate,enddate,stack='type'):
|
||||
|
||||
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.opts(
|
||||
|
||||
@@ -1801,7 +1801,7 @@ def handle_sendemail_coachrequest_accepted(email,coachname,name,
|
||||
}
|
||||
|
||||
res = send_template_email(from_email,[fullemail],
|
||||
subject,'coachrequestacceptedmail.html',
|
||||
subject,'coachrequestacceptedemail.html',
|
||||
d,
|
||||
**kwargs)
|
||||
return 1
|
||||
|
||||
@@ -42,6 +42,7 @@ CELERY_RESULT_SERIALIZER = 'json'
|
||||
CELERY_TRACK_STARTED = True
|
||||
CELERY_SEND_TASK_SENT_EVENT = True
|
||||
|
||||
# GDAL_LIBRARY_PATH = 'C:/OSGeo4W64/bin/'
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
|
||||
Reference in New Issue
Block a user