tomchristie/django-rest-framework — pull request #2189 by mhsparks (2014-12-03 12:44:24+00:00)
Title: Added test to show potential issue with UniqueValidator being added to t...

In our codebase we have models which are sometimes accessed through Django REST framework and sometimes with Django forms.

In the attached test case the UniqueValidator is being added to the underlying model field validators which causes issue when full_clean is run on the model.

The same doesn't happen to the `UniquenessModel` already in the test case. Not sure if this is because it has an additional validator (max_length) - I'll continue to dig.