{"action":"created","issue":{"url":"https://api.github.com/repos/torchbox/wagtail/issues/1129","labels_url":"https://api.github.com/repos/torchbox/wagtail/issues/1129/labels{/name}","comments_url":"https://api.github.com/repos/torchbox/wagtail/issues/1129/comments","events_url":"https://api.github.com/repos/torchbox/wagtail/issues/1129/events","html_url":"https://github.com/torchbox/wagtail/issues/1129","id":65459887,"number":1129,"title":"Bug in Documentation Code","user":{"login":"negletios","id":10745447,"avatar_url":"https://avatars.githubusercontent.com/u/10745447?v=3","gravatar_id":"","url":"https://api.github.com/users/negletios","html_url":"https://github.com/negletios","followers_url":"https://api.github.com/users/negletios/followers","following_url":"https://api.github.com/users/negletios/following{/other_user}","gists_url":"https://api.github.com/users/negletios/gists{/gist_id}","starred_url":"https://api.github.com/users/negletios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/negletios/subscriptions","organizations_url":"https://api.github.com/users/negletios/orgs","repos_url":"https://api.github.com/users/negletios/repos","events_url":"https://api.github.com/users/negletios/events{/privacy}","received_events_url":"https://api.github.com/users/negletios/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/torchbox/wagtail/labels/Documentation","name":"Documentation","color":"006b75"},{"url":"https://api.github.com/repos/torchbox/wagtail/labels/Streamfield","name":"Streamfield","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"kaedroho","id":1093808,"avatar_url":"https://avatars.githubusercontent.com/u/1093808?v=3","gravatar_id":"","url":"https://api.github.com/users/kaedroho","html_url":"https://github.com/kaedroho","followers_url":"https://api.github.com/users/kaedroho/followers","following_url":"https://api.github.com/users/kaedroho/following{/other_user}","gists_url":"https://api.github.com/users/kaedroho/gists{/gist_id}","starred_url":"https://api.github.com/users/kaedroho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaedroho/subscriptions","organizations_url":"https://api.github.com/users/kaedroho/orgs","repos_url":"https://api.github.com/users/kaedroho/repos","events_url":"https://api.github.com/users/kaedroho/events{/privacy}","received_events_url":"https://api.github.com/users/kaedroho/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/torchbox/wagtail/milestones/8","html_url":"https://github.com/torchbox/wagtail/milestones/1.0","labels_url":"https://api.github.com/repos/torchbox/wagtail/milestones/8/labels","id":843509,"number":8,"title":"1.0","description":"","creator":{"login":"chrxr","id":1533665,"avatar_url":"https://avatars.githubusercontent.com/u/1533665?v=3","gravatar_id":"","url":"https://api.github.com/users/chrxr","html_url":"https://github.com/chrxr","followers_url":"https://api.github.com/users/chrxr/followers","following_url":"https://api.github.com/users/chrxr/following{/other_user}","gists_url":"https://api.github.com/users/chrxr/gists{/gist_id}","starred_url":"https://api.github.com/users/chrxr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrxr/subscriptions","organizations_url":"https://api.github.com/users/chrxr/orgs","repos_url":"https://api.github.com/users/chrxr/repos","events_url":"https://api.github.com/users/chrxr/events{/privacy}","received_events_url":"https://api.github.com/users/chrxr/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":102,"state":"open","created_at":"2014-10-28T12:14:08Z","updated_at":"2015-03-31T14:15:20Z","due_on":"2015-03-30T23:00:00Z","closed_at":null},"comments":2,"created_at":"2015-03-31T14:06:17Z","updated_at":"2015-03-31T14:17:36Z","closed_at":"2015-03-31T14:15:20Z","body":"I think there is a bug in http://wagtail.readthedocs.org/en/v1.0b1/pages/streamfield.html?highlight=blocks#listblock\r\n\r\nThe code example: \r\n\r\n<pre>\r\n('ingredients_list', blocks.ListBlock(blocks.StructBlock(\r\n    ('ingredient', blocks.CharBlock(required=True)),\r\n    ('amount', blocks.CharBlock()),\r\n)))\r\n</pre>\r\n\r\nis missing [] in StructBlock which takes a list. \r\n\r\nIt should be something like:\r\n\r\n<pre>\r\n('ingredients_list', blocks.ListBlock(blocks.StructBlock([\r\n    ('ingredient', blocks.CharBlock(required=True)),\r\n    ('amount', blocks.CharBlock()),\r\n])))\r\n</pre>"},"comment":{"url":"https://api.github.com/repos/torchbox/wagtail/issues/comments/88104584","html_url":"https://github.com/torchbox/wagtail/issues/1129#issuecomment-88104584","issue_url":"https://api.github.com/repos/torchbox/wagtail/issues/1129","id":88104584,"user":{"login":"negletios","id":10745447,"avatar_url":"https://avatars.githubusercontent.com/u/10745447?v=3","gravatar_id":"","url":"https://api.github.com/users/negletios","html_url":"https://github.com/negletios","followers_url":"https://api.github.com/users/negletios/followers","following_url":"https://api.github.com/users/negletios/following{/other_user}","gists_url":"https://api.github.com/users/negletios/gists{/gist_id}","starred_url":"https://api.github.com/users/negletios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/negletios/subscriptions","organizations_url":"https://api.github.com/users/negletios/orgs","repos_url":"https://api.github.com/users/negletios/repos","events_url":"https://api.github.com/users/negletios/events{/privacy}","received_events_url":"https://api.github.com/users/negletios/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T14:17:36Z","updated_at":"2015-03-31T14:17:36Z","body":":+1: "}}