From efd06cf1dbfd324ba7c7750c547b1e12dfaa84b0 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Sat, 8 Jan 2022 19:18:24 +0100 Subject: [PATCH] personal: Add academic_suffix --- mpicms/personal/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mpicms/personal/models.py b/mpicms/personal/models.py index c1b12bd..64b9a47 100644 --- a/mpicms/personal/models.py +++ b/mpicms/personal/models.py @@ -95,6 +95,7 @@ class Contact(index.Indexed, ClusterableModel): title = models.CharField(_("title"), max_length=5, blank=True) first_name = models.CharField(_("first name"), max_length=50, blank=True) last_name = models.CharField(_("last name"), max_length=50, blank=True) + academic_suffix = models.CharField(_("academic_suffix"), max_length=50, blank=True) email = models.EmailField(_("email"), blank=True) phone = models.CharField(_("phone number"), blank=True, max_length=50) room = models.CharField(_("room"), max_length=50, blank=True) @@ -110,6 +111,7 @@ class Contact(index.Indexed, ClusterableModel): FieldPanel('title', classname=''), FieldPanel('first_name'), FieldPanel('last_name'), + FieldPanel('academic_suffix'), ], heading='Name'), InlinePanel( 'positions', label="Positions",