I've just recently added some documentation related to that, in this pull request...
https://github.com/tomchristie/django-rest-framework/pull/4192 See the 'Limitations of validators ... Updating nested serializers' section. Right now the answer is just "you need to deal with this validation explicitly". It's possible that we *could* try to do a better job of dealing with this automagically. I'm a little wary of doing so, as I wouldn't be surprised if we ended up bumping into unexpected edge-cases if we did, but I'd be open to exploratory pull requests. (Or it may simply be worth putting onto the backlog in any case) Cheers, Tom -- 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.
