{"action":"created","issue":{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/4532","repository_url":"https://api.github.com/repos/tomchristie/django-rest-framework","labels_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/4532/labels{/name}","comments_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/4532/comments","events_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/4532/events","html_url":"https://github.com/tomchristie/django-rest-framework/issues/4532","id":180764825,"number":4532,"title":"Displaying dicts in the admin console does not render nicely","user":{"login":"alexk307","id":3705729,"avatar_url":"https://avatars.githubusercontent.com/u/3705729?v=3","gravatar_id":"","url":"https://api.github.com/users/alexk307","html_url":"https://github.com/alexk307","followers_url":"https://api.github.com/users/alexk307/followers","following_url":"https://api.github.com/users/alexk307/following{/other_user}","gists_url":"https://api.github.com/users/alexk307/gists{/gist_id}","starred_url":"https://api.github.com/users/alexk307/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexk307/subscriptions","organizations_url":"https://api.github.com/users/alexk307/orgs","repos_url":"https://api.github.com/users/alexk307/repos","events_url":"https://api.github.com/users/alexk307/events{/privacy}","received_events_url":"https://api.github.com/users/alexk307/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/labels/Bug","name":"Bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/milestones/50","html_url":"https://github.com/tomchristie/django-rest-framework/milestones/3.5.2%20Release","labels_url":"https://api.github.com/repos/tomchristie/django-rest-framework/milestones/50/labels","id":2084920,"number":50,"title":"3.5.2 Release","description":"","creator":{"login":"tomchristie","id":647359,"avatar_url":"https://avatars.githubusercontent.com/u/647359?v=3","gravatar_id":"","url":"https://api.github.com/users/tomchristie","html_url":"https://github.com/tomchristie","followers_url":"https://api.github.com/users/tomchristie/followers","following_url":"https://api.github.com/users/tomchristie/following{/other_user}","gists_url":"https://api.github.com/users/tomchristie/gists{/gist_id}","starred_url":"https://api.github.com/users/tomchristie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomchristie/subscriptions","organizations_url":"https://api.github.com/users/tomchristie/orgs","repos_url":"https://api.github.com/users/tomchristie/repos","events_url":"https://api.github.com/users/tomchristie/events{/privacy}","received_events_url":"https://api.github.com/users/tomchristie/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":3,"state":"open","created_at":"2016-10-21T11:32:46Z","updated_at":"2016-10-26T13:57:46Z","due_on":"2016-11-04T00:00:00Z","closed_at":null},"comments":0,"created_at":"2016-10-03T22:37:10Z","updated_at":"2016-10-27T14:52:15Z","closed_at":null,"body":"## Checklist\r\n\r\n- [x] I have verified that that issue exists against the `master` branch of Django REST framework.\r\n- [x] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.\r\n- [x] This is not a usage question. (Those should be directed to the [discussion group](https://groups.google.com/forum/#!forum/django-rest-framework) instead.)\r\n- [x] This cannot be dealt with as a third party library. (We prefer new functionality to be [in the form of third party libraries](http://www.django-rest-framework.org/topics/third-party-resources/#about-third-party-packages) where possible.)\r\n- [x] I have reduced the issue to the simplest possible case.\r\n- [] I have included a failing test as a pull request. (If you are unable to do so we can still accept the issue.)\r\n\r\nThere is no [template](https://github.com/tomchristie/django-rest-framework/blob/master/rest_framework/templates/rest_framework/admin/dict_value.html) code for displaying dicts in the admin console. Ideally this should mimic some of other templates for the admin console as to display the dict in a nice way."},"comment":{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/comments/256664345","html_url":"https://github.com/tomchristie/django-rest-framework/issues/4532#issuecomment-256664345","issue_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/4532","id":256664345,"user":{"login":"rocktavious","id":735015,"avatar_url":"https://avatars.githubusercontent.com/u/735015?v=3","gravatar_id":"","url":"https://api.github.com/users/rocktavious","html_url":"https://github.com/rocktavious","followers_url":"https://api.github.com/users/rocktavious/followers","following_url":"https://api.github.com/users/rocktavious/following{/other_user}","gists_url":"https://api.github.com/users/rocktavious/gists{/gist_id}","starred_url":"https://api.github.com/users/rocktavious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rocktavious/subscriptions","organizations_url":"https://api.github.com/users/rocktavious/orgs","repos_url":"https://api.github.com/users/rocktavious/repos","events_url":"https://api.github.com/users/rocktavious/events{/privacy}","received_events_url":"https://api.github.com/users/rocktavious/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T14:52:15Z","updated_at":"2016-10-27T14:52:15Z","body":"FWIW - I use this template override for  `templates/rest_framework/admin/dict_value.html`\r\n\r\n```\r\n{% load rest_framework %}\r\n<table class=\"table table-striped\">\r\n  <tbody>\r\n    {% for key, value in value.items %}\r\n      <tr>\r\n        <th>{{ key|format_value }}</th>\r\n        <td>{{ value|format_value }}</td>\r\n      </tr>\r\n    {% endfor %}\r\n  </tbody>\r\n</table>\r\n```"}}
{"actor":{"display_login":"rocktavious"}}