{"action":"created","issue":{"url":"https://api.github.com/repos/algolia/algoliasearch-django/issues/13","labels_url":"https://api.github.com/repos/algolia/algoliasearch-django/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-django/issues/13/comments","events_url":"https://api.github.com/repos/algolia/algoliasearch-django/issues/13/events","html_url":"https://github.com/algolia/algoliasearch-django/issues/13","id":100029346,"number":13,"title":"Handle foreign key automatically","user":{"login":"maxiloc","id":1689007,"avatar_url":"https://avatars.githubusercontent.com/u/1689007?v=3","gravatar_id":"","url":"https://api.github.com/users/maxiloc","html_url":"https://github.com/maxiloc","followers_url":"https://api.github.com/users/maxiloc/followers","following_url":"https://api.github.com/users/maxiloc/following{/other_user}","gists_url":"https://api.github.com/users/maxiloc/gists{/gist_id}","starred_url":"https://api.github.com/users/maxiloc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxiloc/subscriptions","organizations_url":"https://api.github.com/users/maxiloc/orgs","repos_url":"https://api.github.com/users/maxiloc/repos","events_url":"https://api.github.com/users/maxiloc/events{/privacy}","received_events_url":"https://api.github.com/users/maxiloc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-10T10:24:55Z","updated_at":"2015-10-05T15:03:47Z","closed_at":null,"body":"Might be the same as #2"},"comment":{"url":"https://api.github.com/repos/algolia/algoliasearch-django/issues/comments/145560877","html_url":"https://github.com/algolia/algoliasearch-django/issues/13#issuecomment-145560877","issue_url":"https://api.github.com/repos/algolia/algoliasearch-django/issues/13","id":145560877,"user":{"login":"cabello","id":60936,"avatar_url":"https://avatars.githubusercontent.com/u/60936?v=3","gravatar_id":"","url":"https://api.github.com/users/cabello","html_url":"https://github.com/cabello","followers_url":"https://api.github.com/users/cabello/followers","following_url":"https://api.github.com/users/cabello/following{/other_user}","gists_url":"https://api.github.com/users/cabello/gists{/gist_id}","starred_url":"https://api.github.com/users/cabello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cabello/subscriptions","organizations_url":"https://api.github.com/users/cabello/orgs","repos_url":"https://api.github.com/users/cabello/repos","events_url":"https://api.github.com/users/cabello/events{/privacy}","received_events_url":"https://api.github.com/users/cabello/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T15:03:47Z","updated_at":"2015-10-05T15:03:47Z","body":"Yes, I recommend using the Meta API for Django 1.8, `get_fields` will return all model fields, and `is_relation` property will tell you if it's a foreign key."}}