Private
Public Access
1
0

image size to image model

This commit is contained in:
Sander Roosendaal
2017-10-10 09:21:34 +02:00
parent 357e077194
commit b4d854c481
5 changed files with 94 additions and 3 deletions

View File

@@ -584,6 +584,8 @@ class GraphImage(models.Model):
filename = models.CharField(default='',max_length=150,blank=True,null=True)
creationdatetime = models.DateTimeField()
workout = models.ForeignKey(Workout)
width = models.IntegerField(default=1200)
height = models.IntegerField(default=600)
def __str__(self):
return self.filename