C2 and ST button to import all new workouts
This commit is contained in:
@@ -18,6 +18,7 @@ from rowsandall_app.settings import DATABASES
|
||||
|
||||
from utils import lbstoN
|
||||
|
||||
|
||||
user = DATABASES['default']['USER']
|
||||
password = DATABASES['default']['PASSWORD']
|
||||
database_name = DATABASES['default']['NAME']
|
||||
@@ -335,6 +336,7 @@ def handle_nonpainsled(f2,fileformat,summary=''):
|
||||
|
||||
return (f2,summary,oarlength,inboard)
|
||||
|
||||
|
||||
# Create new workout from file and store it in the database
|
||||
# This routine should be used everywhere in views.py and mailprocessing.py
|
||||
# Currently there is code duplication
|
||||
|
||||
Reference in New Issue
Block a user