mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-07-15 10:05:21 +00:00
@ -108,7 +108,7 @@ class GuardianSerializer(serializers.ModelSerializer):
|
||||
"""
|
||||
model = Guardian
|
||||
fields = ('id', 'name', 'first_name', 'last_name', 'username', 'dob', 'gender', 'country_code', 'phone',
|
||||
'is_active', 'country_name', 'image', 'email')
|
||||
'is_active', 'country_name', 'image', 'email', 'is_deleted')
|
||||
|
||||
def validate(self, attrs):
|
||||
"""
|
||||
@ -187,7 +187,7 @@ class JuniorSerializer(serializers.ModelSerializer):
|
||||
"""
|
||||
model = Junior
|
||||
fields = ('id', 'name', 'first_name', 'last_name', 'username', 'dob', 'gender', 'country_code', 'phone',
|
||||
'is_active', 'country_name', 'image', 'email')
|
||||
'is_active', 'country_name', 'image', 'email', 'is_deleted')
|
||||
|
||||
def validate(self, attrs):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user