fixed keywords and food/unit loading

This commit is contained in:
vabene1111
2020-06-29 22:41:54 +02:00
parent 29e2f9ee15
commit 6eb41fe33f
3 changed files with 9 additions and 7 deletions

View File

@ -125,9 +125,6 @@ class Keyword(models.Model):
else:
return f"{self.name}"
def __str__(self):
return self.name
class Unit(models.Model):
name = models.CharField(unique=True, max_length=128)