diff --git a/apiserver/apiserver/api/serializers.py b/apiserver/apiserver/api/serializers.py index 9556688..ed64307 100644 --- a/apiserver/apiserver/api/serializers.py +++ b/apiserver/apiserver/api/serializers.py @@ -110,9 +110,9 @@ class MemberSerializer(serializers.ModelSerializer): crop = serializers.CharField(write_only=True, required=False) email = fields.UserEmailField(serializers.EmailField) phone = serializers.CharField() - street_address = serializers.CharField() - city = serializers.CharField() - postal_code = serializers.CharField() + street_address = serializers.CharField(required=False) + city = serializers.CharField(required=False) + postal_code = serializers.CharField(required=False) class Meta: model = models.Member diff --git a/apiserver/apiserver/api/utils.py b/apiserver/apiserver/api/utils.py index 569f390..9382f89 100644 --- a/apiserver/apiserver/api/utils.py +++ b/apiserver/apiserver/api/utils.py @@ -397,9 +397,6 @@ def gen_member_forms(member): can.drawString(34, 683, data['first_name']) can.drawString(218, 683, data['last_name']) can.drawString(403, 683, data['preferred_name']) - can.drawString(34, 654, data['street_address']) - can.drawString(275, 654, data['city']) - can.drawString(459, 654, data['postal_code']) can.drawString(34, 626, data['email']) can.drawString(332, 626, data['phone']) can.drawString(34, 570, data['emergency_contact_name'])