display the salutations names
This commit is contained in:
parent
0427c43a25
commit
772924ef8d
|
@ -101,6 +101,9 @@ class City(models.Model):
|
|||
class Salutation(models.Model):
|
||||
name = models.CharField(max_length=20)
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
|
||||
class Person(models.Model):
|
||||
first_name = models.CharField(max_length=200)
|
||||
|
|
Loading…
Reference in New Issue