{"action":"created","issue":{"url":"https://api.github.com/repos/05bit/peewee-async/issues/15","repository_url":"https://api.github.com/repos/05bit/peewee-async","labels_url":"https://api.github.com/repos/05bit/peewee-async/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/05bit/peewee-async/issues/15/comments","events_url":"https://api.github.com/repos/05bit/peewee-async/issues/15/events","html_url":"https://github.com/05bit/peewee-async/issues/15","id":131782451,"number":15,"title":"Async ForeignKeys","user":{"login":"mrbox","id":160822,"avatar_url":"https://avatars.githubusercontent.com/u/160822?v=3","gravatar_id":"","url":"https://api.github.com/users/mrbox","html_url":"https://github.com/mrbox","followers_url":"https://api.github.com/users/mrbox/followers","following_url":"https://api.github.com/users/mrbox/following{/other_user}","gists_url":"https://api.github.com/users/mrbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mrbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrbox/subscriptions","organizations_url":"https://api.github.com/users/mrbox/orgs","repos_url":"https://api.github.com/users/mrbox/repos","events_url":"https://api.github.com/users/mrbox/events{/privacy}","received_events_url":"https://api.github.com/users/mrbox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-05T22:55:27Z","updated_at":"2016-02-08T12:13:10Z","closed_at":null,"body":"At the moment if you have model\r\n\r\n```\r\nclass Model(peewee.Model):\r\n    other_model = peewee.ForeignKey(OrderModel)\r\n```\r\n\r\nusing it like this\r\n\r\n```\r\nmodel_instance.other_model\r\n```\r\n\r\nwill trigger sync query.\r\n\r\nI've already have this working so this issue is just to keep contribution in mind ;)"},"comment":{"url":"https://api.github.com/repos/05bit/peewee-async/issues/comments/181340191","html_url":"https://github.com/05bit/peewee-async/issues/15#issuecomment-181340191","issue_url":"https://api.github.com/repos/05bit/peewee-async/issues/15","id":181340191,"user":{"login":"rudyryk","id":4500,"avatar_url":"https://avatars.githubusercontent.com/u/4500?v=3","gravatar_id":"","url":"https://api.github.com/users/rudyryk","html_url":"https://github.com/rudyryk","followers_url":"https://api.github.com/users/rudyryk/followers","following_url":"https://api.github.com/users/rudyryk/following{/other_user}","gists_url":"https://api.github.com/users/rudyryk/gists{/gist_id}","starred_url":"https://api.github.com/users/rudyryk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudyryk/subscriptions","organizations_url":"https://api.github.com/users/rudyryk/orgs","repos_url":"https://api.github.com/users/rudyryk/repos","events_url":"https://api.github.com/users/rudyryk/events{/privacy}","received_events_url":"https://api.github.com/users/rudyryk/received_events","type":"User","site_admin":false},"created_at":"2016-02-08T12:13:10Z","updated_at":"2016-02-08T12:13:10Z","body":"Well :) I have to disagree here :) Models define data structure, `GenericForeignKey ` in Django defines generic relation - model `A` has relation to arbitrary model `X`, I'm ok with that. And what is `asynchronous field`? :) Databases can't have sync columns as well as async columns."}}