test_model_serializer.py
34.4 KB
-
Fixed broken test for Django < 1.9 · d797389c
This test was incorrectly checking that there were no validators set in older versions of Django, even though it should have been checking for the two validators that were set up on the model field level. The originally regression test that this fixes was added in https://github.com/tomchristie/django-rest-framework/commit/7d79cf35b7be01b175d8c25276a4414e8144a16b when fixing an issue with the `DecimalValidator`.
Kevin Brown committed