diff --git a/registrasion/models.py b/registrasion/models.py index 1e7d04c273c5c0270f03f0b8ddedec608abc48ec..80e0141c5051d1735d885bdaaf0a4c9409009e49 100644 --- a/registrasion/models.py +++ b/registrasion/models.py @@ -47,6 +47,12 @@ class AttendeeProfileBase(models.Model): registration progess. ''' + @classmethod + def name_field(cls): + ''' This is used to pre-fill the attendee's name from the + speaker profile. If it's None, that functionality is disabled. ''' + return None + attendee = models.OneToOneField(Attendee, on_delete=models.CASCADE)