diff --git a/apiserver/apiserver/api/models.py b/apiserver/apiserver/api/models.py index b01ca2c..ea42a46 100644 --- a/apiserver/apiserver/api/models.py +++ b/apiserver/apiserver/api/models.py @@ -32,9 +32,6 @@ class Member(models.Model): birthdate = models.DateField(blank=True, null=True) is_minor = models.BooleanField(default=False) guardian_name = models.CharField(max_length=32, blank=True, null=True) - street_address = models.CharField(default='', max_length=32, null=True) - city = models.CharField(default='Calgary, AB', max_length=32) - postal_code = models.CharField(max_length=16, null=True) public_bio = models.CharField(max_length=512, blank=True) private_notes = models.CharField(max_length=512, blank=True) diff --git a/apiserver/apiserver/api/serializers.py b/apiserver/apiserver/api/serializers.py index f60b8f6..861f95f 100644 --- a/apiserver/apiserver/api/serializers.py +++ b/apiserver/apiserver/api/serializers.py @@ -170,9 +170,6 @@ class MemberSerializer(serializers.ModelSerializer): crop = serializers.CharField(write_only=True, required=False) email = fields.UserEmailField(serializers.EmailField) phone = serializers.CharField() - street_address = serializers.CharField(required=False) - city = serializers.CharField(required=False) - postal_code = serializers.CharField(required=False) class Meta: model = models.Member @@ -254,9 +251,6 @@ class MemberSerializer(serializers.ModelSerializer): # admin viewing member details class AdminMemberSerializer(MemberSerializer): phone = serializers.CharField(required=False) - street_address = serializers.CharField(required=False) - city = serializers.CharField(required=False) - postal_code = serializers.CharField(required=False) monthly_fees = serializers.ChoiceField([10, 30, 35, 50, 55]) class Meta: