serializers.py
19.1 KB
-
get_excluded_fieldnames() should respect Meta options' ability to be either a… · d0935d1f
get_excluded_fieldnames() should respect Meta options' ability to be either a tuple or list. Fixes #490. Refactored `if self.opt.fields` out of the for loop. Updated and cleaned up the validation-tests.
Marko Tibold committed