{"action":"created","issue":{"url":"https://api.github.com/repos/carltongibson/django-filter/issues/548","repository_url":"https://api.github.com/repos/carltongibson/django-filter","labels_url":"https://api.github.com/repos/carltongibson/django-filter/issues/548/labels{/name}","comments_url":"https://api.github.com/repos/carltongibson/django-filter/issues/548/comments","events_url":"https://api.github.com/repos/carltongibson/django-filter/issues/548/events","html_url":"https://github.com/carltongibson/django-filter/pull/548","id":187467368,"number":548,"title":"provides support for query array notation","user":{"login":"pySilver","id":1113925,"avatar_url":"https://avatars.githubusercontent.com/u/1113925?v=3","gravatar_id":"","url":"https://api.github.com/users/pySilver","html_url":"https://github.com/pySilver","followers_url":"https://api.github.com/users/pySilver/followers","following_url":"https://api.github.com/users/pySilver/following{/other_user}","gists_url":"https://api.github.com/users/pySilver/gists{/gist_id}","starred_url":"https://api.github.com/users/pySilver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pySilver/subscriptions","organizations_url":"https://api.github.com/users/pySilver/orgs","repos_url":"https://api.github.com/users/pySilver/repos","events_url":"https://api.github.com/users/pySilver/events{/privacy}","received_events_url":"https://api.github.com/users/pySilver/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-05T01:06:16Z","updated_at":"2016-11-08T02:26:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/carltongibson/django-filter/pulls/548","html_url":"https://github.com/carltongibson/django-filter/pull/548","diff_url":"https://github.com/carltongibson/django-filter/pull/548.diff","patch_url":"https://github.com/carltongibson/django-filter/pull/548.patch"},"body":"Adds support for array inputs using QueryArrayWidget:\r\n\r\n```\r\n1. Values can be provided as csv string: ?foo=bar,baz\r\n2. Values can be provided as query array: ?foo[]=bar&foo[]=baz\r\n```\r\nSee: #544\r\n\r\nQueryArrayWidget might be set as a default widget for DRF MultipleChoiceFilters since this feature is mostly useful there.\r\n\r\nWhy we need this feature: Many frontend libraries uses common format to pass array-like structures in URLs:\r\n\r\nhttp://api.jquery.com/jquery.param/\r\nhttps://coderwall.com/p/uh8kiw/pass-arrays-objects-via-querystring-the-rack-rails-way\r\n\r\nThis feature is mostly useful in DRF/API projects where Django is not responsible for frontend code and has no influence on it. It just supports seems-to-be popular input format for arrays."},"comment":{"url":"https://api.github.com/repos/carltongibson/django-filter/issues/comments/259027228","html_url":"https://github.com/carltongibson/django-filter/pull/548#issuecomment-259027228","issue_url":"https://api.github.com/repos/carltongibson/django-filter/issues/548","id":259027228,"user":{"login":"pySilver","id":1113925,"avatar_url":"https://avatars.githubusercontent.com/u/1113925?v=3","gravatar_id":"","url":"https://api.github.com/users/pySilver","html_url":"https://github.com/pySilver","followers_url":"https://api.github.com/users/pySilver/followers","following_url":"https://api.github.com/users/pySilver/following{/other_user}","gists_url":"https://api.github.com/users/pySilver/gists{/gist_id}","starred_url":"https://api.github.com/users/pySilver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pySilver/subscriptions","organizations_url":"https://api.github.com/users/pySilver/orgs","repos_url":"https://api.github.com/users/pySilver/repos","events_url":"https://api.github.com/users/pySilver/events{/privacy}","received_events_url":"https://api.github.com/users/pySilver/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T02:26:44Z","updated_at":"2016-11-08T02:26:44Z","body":"@carltongibson any feedback on this?"}}
{"actor":{"display_login":"pySilver"}}