changed soundcloud url
This commit is contained in:
parent
4a0643189d
commit
1084cfa39f
@ -31,6 +31,14 @@ class SingleFood(models.Model):
|
|||||||
fourth_star = models.SmallIntegerField(default=0)
|
fourth_star = models.SmallIntegerField(default=0)
|
||||||
fifth_star = models.SmallIntegerField(default=0)
|
fifth_star = models.SmallIntegerField(default=0)
|
||||||
|
|
||||||
|
def __str__(self):
|
||||||
|
return "%s Rating: %f" % (self.name, self.rating)
|
||||||
|
|
||||||
|
|
||||||
|
class Allergene(models.Model):
|
||||||
|
id = models.AutoField(primary_key=True)
|
||||||
|
name = models.CharField(unique=True, max_length=MAX_LENGTH)
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.name
|
return self.name
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user