{"action":"created","issue":{"url":"https://api.github.com/repos/skorokithakis/django-annoying/issues/51","repository_url":"https://api.github.com/repos/skorokithakis/django-annoying","labels_url":"https://api.github.com/repos/skorokithakis/django-annoying/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/skorokithakis/django-annoying/issues/51/comments","events_url":"https://api.github.com/repos/skorokithakis/django-annoying/issues/51/events","html_url":"https://github.com/skorokithakis/django-annoying/issues/51","id":146689080,"number":51,"title":"AutoOneToOne doesn't work","user":{"login":"Vorlif","id":4333770,"avatar_url":"https://avatars.githubusercontent.com/u/4333770?v=3","gravatar_id":"","url":"https://api.github.com/users/Vorlif","html_url":"https://github.com/Vorlif","followers_url":"https://api.github.com/users/Vorlif/followers","following_url":"https://api.github.com/users/Vorlif/following{/other_user}","gists_url":"https://api.github.com/users/Vorlif/gists{/gist_id}","starred_url":"https://api.github.com/users/Vorlif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vorlif/subscriptions","organizations_url":"https://api.github.com/users/Vorlif/orgs","repos_url":"https://api.github.com/users/Vorlif/repos","events_url":"https://api.github.com/users/Vorlif/events{/privacy}","received_events_url":"https://api.github.com/users/Vorlif/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-04-07T17:19:46Z","updated_at":"2016-08-04T00:02:30Z","closed_at":null,"body":"## System\r\nOS: Linux\r\nPython: 3.5.1\r\nDjango: 1.9.5\r\nAnnoying: 0.9.0\r\n\r\n## Example\r\nFrom README.md.\r\n```\r\nfrom annoying.fields import AutoOneToOneField\r\n\r\nclass MyProfile(models.Model):\r\n    user = AutoOneToOneField(User, primary_key=True)\r\n    home_page = models.URLField(max_length=255, blank=True)\r\n    icq = models.IntegerField(blank=True, null=True)\r\n```\r\n\r\n## Description\r\nI have try your example but it doesnt't work. I have no error messages. The field works lika a regular OneToOne field."},"comment":{"url":"https://api.github.com/repos/skorokithakis/django-annoying/issues/comments/237412294","html_url":"https://github.com/skorokithakis/django-annoying/issues/51#issuecomment-237412294","issue_url":"https://api.github.com/repos/skorokithakis/django-annoying/issues/51","id":237412294,"user":{"login":"arthurio","id":950449,"avatar_url":"https://avatars.githubusercontent.com/u/950449?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurio","html_url":"https://github.com/arthurio","followers_url":"https://api.github.com/users/arthurio/followers","following_url":"https://api.github.com/users/arthurio/following{/other_user}","gists_url":"https://api.github.com/users/arthurio/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurio/subscriptions","organizations_url":"https://api.github.com/users/arthurio/orgs","repos_url":"https://api.github.com/users/arthurio/repos","events_url":"https://api.github.com/users/arthurio/events{/privacy}","received_events_url":"https://api.github.com/users/arthurio/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T00:02:30Z","updated_at":"2016-08-04T00:02:30Z","body":"@pymarco I'm just seing this but `AutoOneToOneField` won't create a related object unless you try to access it.\r\n\r\n```\r\na = Alpha.objects.create()\r\nBeta.objects.count()\r\n# 0\r\na.beta\r\n# <Beta: Beta object>\r\nBeta.objects.count()  # 1\r\n```"}}
{"actor":{"display_login":"arthurio"}}