tomchristie/django-rest-framework — pull request #351 by asfaltboy (2012-11-01 13:04:30+00:00)
Title: Return choices as unicode and not string

Browseable API fails to render `ugettext_lazy` objects as choice description.
This seems to happen because `serializer_to_form` fields attempts to coerce the choices descr. to string.

Since current Django version runs on Python 2.7 I suggest returning it as Unicode (i.e: `u'translation'`), plus Python 3.3 should now support the `u''` syntax. I've also taken the liberty of doing this for `jsonp` renderer.

P.s: It seems wise to do this in all modules (you never know when unicode strings might appear).