tomchristie/django-rest-framework — pull request #491 by markotibold (2012-12-10 22:11:44+00:00)
Title: get_excluded_fieldnames() should respect Meta options' ability to be eit...

...her a tuple or list. Fixes #490.

Refactored `if self.opt.fields` out of the for loop.
Updated and cleaned up the validation-tests.