Exemplo n.º 1
0
 def validate(self, attrs):
     instance = Subscription(**attrs)
     instance.clean()
     return attrs
Exemplo n.º 2
0
    def validate(self, attrs):
        attrs = super(SubscriptionSerializer, self).validate(attrs)

        instance = Subscription(**attrs)
        instance.clean()
        return attrs
Exemplo n.º 3
0
    def validate(self, attrs):
        attrs = super(SubscriptionSerializer, self).validate(attrs)

        instance = Subscription(**attrs)
        instance.clean()
        return attrs
Exemplo n.º 4
0
 def validate(self, attrs):
     instance = Subscription(**attrs)
     instance.clean()
     return attrs