nothing
This commit is contained in:
@@ -80,6 +80,12 @@ class Rower(models.Model):
|
||||
def __str__(self):
|
||||
return self.user.username
|
||||
|
||||
class FavoriteChart(models.Model):
|
||||
yparam1 = models.CharField(max_length=50)
|
||||
yparam2 = models.CharField(max_length=50)
|
||||
xparam = models.CharField(max_length=50)
|
||||
user = models.ForeignKey(Rower)
|
||||
|
||||
class Workout(models.Model):
|
||||
workouttypes = (
|
||||
('water','On-water'),
|
||||
|
||||
@@ -2573,10 +2573,19 @@ def workout_comparison_view2(request,id1=0,id2=0,xparam='distance',
|
||||
|
||||
|
||||
|
||||
def workout_flexchart3_view(request,id=0,xparam='distance',yparam1='pace',
|
||||
def workout_flexchart3_view(request,id=0,#*args,**kwargs):
|
||||
xparam='distance',yparam1='pace',
|
||||
yparam2='hr',plottype='line',
|
||||
promember=0):
|
||||
|
||||
# print args
|
||||
# try:
|
||||
# id = args[0]
|
||||
# except:
|
||||
# pass
|
||||
|
||||
# if 'xparam' in kwargs:
|
||||
# print "found it"
|
||||
if request.method == 'POST':
|
||||
workstrokesonly = request.POST['workstrokesonly']
|
||||
if workstrokesonly == 'True':
|
||||
|
||||
Reference in New Issue
Block a user