{"action":"opened","issue":{"url":"https://api.github.com/repos/vbabiy/djangorestframework-camel-case/issues/40","repository_url":"https://api.github.com/repos/vbabiy/djangorestframework-camel-case","labels_url":"https://api.github.com/repos/vbabiy/djangorestframework-camel-case/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/vbabiy/djangorestframework-camel-case/issues/40/comments","events_url":"https://api.github.com/repos/vbabiy/djangorestframework-camel-case/issues/40/events","html_url":"https://github.com/vbabiy/djangorestframework-camel-case/issues/40","id":307114617,"number":40,"title":"error when value is a translation","user":{"login":"javialon26","id":8138654,"avatar_url":"https://avatars1.githubusercontent.com/u/8138654?v=4","gravatar_id":"","url":"https://api.github.com/users/javialon26","html_url":"https://github.com/javialon26","followers_url":"https://api.github.com/users/javialon26/followers","following_url":"https://api.github.com/users/javialon26/following{/other_user}","gists_url":"https://api.github.com/users/javialon26/gists{/gist_id}","starred_url":"https://api.github.com/users/javialon26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javialon26/subscriptions","organizations_url":"https://api.github.com/users/javialon26/orgs","repos_url":"https://api.github.com/users/javialon26/repos","events_url":"https://api.github.com/users/javialon26/events{/privacy}","received_events_url":"https://api.github.com/users/javialon26/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-21T04:07:48Z","updated_at":"2018-03-21T04:07:48Z","closed_at":null,"author_association":"NONE","body":"When the value to render is a translation (ugettext_lazy) the string is converted to array of strings.\r\n\r\nI think the problem is the is_iterable method in util.py, because return true when the value is a translation.\r\n\r\nExample of response:\r\n```\r\n{\r\n    \"detail\": [\r\n        \"S\",\r\n        \"e\",\r\n        \" \",\r\n        \"h\",\r\n        \"a\",\r\n        \" \",\r\n        \"e\",\r\n        \"n\",\r\n        \"v\",\r\n        \"i\",\r\n        \"a\",\r\n        \"d\",\r\n        \"o\",\r\n        \" \",\r\n        \"u\",\r\n        \"n\",\r\n        \" \",\r\n        \"c\",\r\n        \"o\",\r\n        \"r\",\r\n        \"r\",\r\n        \"e\",\r\n        \"o\",\r\n        \" \",\r\n        \"e\",\r\n        \"l\",\r\n        \"e\",\r\n        \"c\",\r\n        \"t\",\r\n        \"r\",\r\n        \"ó\",\r\n        \"n\",\r\n        \"i\",\r\n        \"c\",\r\n        \"o\",\r\n        \" \",\r\n        \"p\",\r\n        \"a\",\r\n        \"r\",\r\n        \"a\",\r\n        \" \",\r\n        \"r\",\r\n        \"e\",\r\n        \"s\",\r\n        \"t\",\r\n        \"a\",\r\n        \"b\",\r\n        \"l\",\r\n        \"e\",\r\n        \"c\",\r\n        \"e\",\r\n        \"r\",\r\n        \" \",\r\n        \"l\",\r\n        \"a\",\r\n        \" \",\r\n        \"c\",\r\n        \"o\",\r\n        \"n\",\r\n        \"t\",\r\n        \"r\",\r\n        \"a\",\r\n        \"s\",\r\n        \"e\",\r\n        \"ñ\",\r\n        \"a\",\r\n        \".\"\r\n    ]\r\n}\r\n```"}}
{"actor":{"display_login":"javialon26"}}