If would inspect `self.instance` in your validate method. If it exists then 
an update is being performed and you can exclude `self.instance.pk` from 
the queryset against which you perform the "does this already exist". This 
way around any validation errors will be checked during the `is_valid` 
call, rather than during `.save()`.

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to