In serializer's to_representation, it is enforced that *field.field_name* 
will represent the field. We can optionally set it to be the *field.labe*l 
or that set in *extra_kwargs* to be used depending upon user's choice.

Here is the PR: https://github.com/encode/django-rest-framework/pull/6649

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to