{"action":"created","issue":{"url":"https://api.github.com/repos/bbengfort/django-generic-json-views/issues/15","labels_url":"https://api.github.com/repos/bbengfort/django-generic-json-views/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/bbengfort/django-generic-json-views/issues/15/comments","events_url":"https://api.github.com/repos/bbengfort/django-generic-json-views/issues/15/events","html_url":"https://github.com/bbengfort/django-generic-json-views/pull/15","id":122960542,"number":15,"title":"Python 3 compatibility.","user":{"login":"philippbosch","id":57509,"avatar_url":"https://avatars.githubusercontent.com/u/57509?v=3","gravatar_id":"","url":"https://api.github.com/users/philippbosch","html_url":"https://github.com/philippbosch","followers_url":"https://api.github.com/users/philippbosch/followers","following_url":"https://api.github.com/users/philippbosch/following{/other_user}","gists_url":"https://api.github.com/users/philippbosch/gists{/gist_id}","starred_url":"https://api.github.com/users/philippbosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philippbosch/subscriptions","organizations_url":"https://api.github.com/users/philippbosch/orgs","repos_url":"https://api.github.com/users/philippbosch/repos","events_url":"https://api.github.com/users/philippbosch/events{/privacy}","received_events_url":"https://api.github.com/users/philippbosch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-18T14:44:34Z","updated_at":"2016-01-21T20:44:46Z","closed_at":"2015-12-22T18:41:41Z","pull_request":{"url":"https://api.github.com/repos/bbengfort/django-generic-json-views/pulls/15","html_url":"https://github.com/bbengfort/django-generic-json-views/pull/15","diff_url":"https://github.com/bbengfort/django-generic-json-views/pull/15.diff","patch_url":"https://github.com/bbengfort/django-generic-json-views/pull/15.patch"},"body":"I'm in the process of converting a Python 2 project that includes _django-generic-json-views_ to Python 3. So I made a few compatibility fixes. \r\n\r\nI also tried to make the tests pass, but `test_dumps` and `test_dumps_opts` are failing currently because the key order of the `json.dumps()` output seems to have changed from Python 2 to 3. I don't know how these tests could be implemented so they pass in 2 and 3. If you have any idea please let me know and I'll try to adjust them."},"comment":{"url":"https://api.github.com/repos/bbengfort/django-generic-json-views/issues/comments/173702583","html_url":"https://github.com/bbengfort/django-generic-json-views/pull/15#issuecomment-173702583","issue_url":"https://api.github.com/repos/bbengfort/django-generic-json-views/issues/15","id":173702583,"user":{"login":"bbengfort","id":745966,"avatar_url":"https://avatars.githubusercontent.com/u/745966?v=3","gravatar_id":"","url":"https://api.github.com/users/bbengfort","html_url":"https://github.com/bbengfort","followers_url":"https://api.github.com/users/bbengfort/followers","following_url":"https://api.github.com/users/bbengfort/following{/other_user}","gists_url":"https://api.github.com/users/bbengfort/gists{/gist_id}","starred_url":"https://api.github.com/users/bbengfort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbengfort/subscriptions","organizations_url":"https://api.github.com/users/bbengfort/orgs","repos_url":"https://api.github.com/users/bbengfort/repos","events_url":"https://api.github.com/users/bbengfort/events{/privacy}","received_events_url":"https://api.github.com/users/bbengfort/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T20:44:45Z","updated_at":"2016-01-21T20:44:45Z","body":"@philippbosch pong! \r\n\r\nGot the Python 3 tests going today, there was [some interesting discussion](http://stackoverflow.com/questions/34931386/how-do-i-keep-the-json-key-order-fixed-with-python-3-json-dumps) related to the cause of the problems! Check it out if you're interested. \r\n\r\n[Version 0.7](https://pypi.python.org/pypi/django-generic-json-views/0.7) has been pushed to PyPI! Thank you again for all your help! "}}