marcgibbons/django-rest-framework-docs — pull request #21 by filipeximenes (2013-08-22 03:52:37+00:00)
Title: Fixing AttributeError on __get_serializer_fields__ for simple cases #19

This is a solution for the absence of a request when trying to get serializer fields from custom get_serializer_class methods. This solution does not cover all possibilities, but will work in many situations for simple customizations of get_serializer_class method.