Str repr for Scale
This commit is contained in:
parent
b2ed245dcf
commit
5eea4c546e
1 changed files with 3 additions and 0 deletions
|
@ -173,6 +173,9 @@ class Scale(models.Model):
|
|||
class Meta:
|
||||
db_table = 'scale'
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
|
||||
class ScalesPeople(models.Model):
|
||||
id = models.AutoField(primary_key=True)
|
||||
|
|
Loading…
Reference in a new issue