tomchristie/django-rest-framework — pull request #1759 by aymericderbois (2014-08-15 15:10:05+00:00)
Title: Add class SerializerLambdaField that works like SerializerMethodField

Example :

``` python
class ArticleSerializer(serializers.ModelSerializer):
short_title = serializers.SerializerLambdaField(lambda obj: obj.title[0:10])

class Meta:
model = UserProfile
fields = ('id', 'title', 'short_title')