def create(self, validated_data):
    'Create a new user with encrypted password and return it'
    return get_user_model().objects.create_user(**validated_data)
Create a new user with encrypted password and return it
def create(self, validated_data):
    
    return get_user_model().objects.create_user(**validated_data)