def validate(self, attrs): instance = Subscription(**attrs) instance.clean() return attrs
def validate(self, attrs): attrs = super(SubscriptionSerializer, self).validate(attrs) instance = Subscription(**attrs) instance.clean() return attrs