diff --git a/bikeshop_project/registration/models.py b/bikeshop_project/registration/models.py index 2175b3f..73b6ca4 100644 --- a/bikeshop_project/registration/models.py +++ b/bikeshop_project/registration/models.py @@ -79,9 +79,9 @@ class Member(models.Model): null=True, blank=True, ) - email_consent = models.BooleanField(default=False) - first_name = models.CharField(max_length=255, null=False) - last_name = models.CharField(max_length=255, null=False) + email_consent = models.BooleanField(default=False, blank=False) + first_name = models.CharField(max_length=255, null=False, blank=False) + last_name = models.CharField(max_length=255, null=False, blank=False) preferred_name = models.CharField(max_length=255, null=True, blank=True) date_of_birth = models.DateField(null=True, blank=True) guardian_name = models.CharField(max_length=255, null=True, blank=True) diff --git a/bikeshop_project/registration/templates/member_form.html b/bikeshop_project/registration/templates/member_form.html index 319bcfb..8b88979 100644 --- a/bikeshop_project/registration/templates/member_form.html +++ b/bikeshop_project/registration/templates/member_form.html @@ -97,7 +97,7 @@