Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2016-12-06 13:35:35 +01:00
parent c50bcc2938
commit bd4f9cbe4c
2 changed files with 16 additions and 1 deletions

View File

@@ -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'),