Str repr for Scale

This commit is contained in:
PCoder 2021-10-11 08:33:49 +05:30
parent b2ed245dcf
commit 5eea4c546e
1 changed files with 3 additions and 0 deletions

View File

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