{"action":"opened","issue":{"url":"https://api.github.com/repos/torchbox/wagtail/issues/1831","labels_url":"https://api.github.com/repos/torchbox/wagtail/issues/1831/labels{/name}","comments_url":"https://api.github.com/repos/torchbox/wagtail/issues/1831/comments","events_url":"https://api.github.com/repos/torchbox/wagtail/issues/1831/events","html_url":"https://github.com/torchbox/wagtail/issues/1831","id":111583128,"number":1831,"title":"Support for OneToOneField Panels","user":{"login":"seddonym","id":236623,"avatar_url":"https://avatars.githubusercontent.com/u/236623?v=3","gravatar_id":"","url":"https://api.github.com/users/seddonym","html_url":"https://github.com/seddonym","followers_url":"https://api.github.com/users/seddonym/followers","following_url":"https://api.github.com/users/seddonym/following{/other_user}","gists_url":"https://api.github.com/users/seddonym/gists{/gist_id}","starred_url":"https://api.github.com/users/seddonym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seddonym/subscriptions","organizations_url":"https://api.github.com/users/seddonym/orgs","repos_url":"https://api.github.com/users/seddonym/repos","events_url":"https://api.github.com/users/seddonym/events{/privacy}","received_events_url":"https://api.github.com/users/seddonym/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-15T09:56:12Z","updated_at":"2015-10-15T09:56:12Z","closed_at":null,"body":"It would be really useful if it were possible to have a Panel for one-to-one relationships.  Currently this is possible with many-to-many relationships using an `InlinePanel`, but I'm not aware of a way to do it with a model which relates to the parent model via a `OneToOneField`.\r\n\r\nIn an ideal world, this would support generic relationships, but that would perhaps be another ticket.\r\n\r\nI do this quite a lot in the Django admin, so it would be nice to be able to do it in Wagtail too.\r\n\r\nAn example use case would be a pluggable app that defines some extra fields that can be attached to an existing Page model.\r\n"}}