Added hidden family admin view

This commit is contained in:
John Mullins
2024-11-11 13:32:56 +11:00
parent c50ebc9e2a
commit 3392597696
2 changed files with 12 additions and 0 deletions
+3
View File
@@ -315,6 +315,9 @@ class Family(models.Model):
emergency_contact_B_phone = models.CharField(max_length=15, blank=True)
emergency_contact_B_relation = models.CharField(max_length=50, choices=RELATIONS, blank=True)
class Meta:
verbose_name_plural = "Families"
def __str__(self):
return self.parent_names()