{"action":"closed","issue":{"url":"https://api.github.com/repos/carltongibson/django-filter/issues/529","repository_url":"https://api.github.com/repos/carltongibson/django-filter","labels_url":"https://api.github.com/repos/carltongibson/django-filter/issues/529/labels{/name}","comments_url":"https://api.github.com/repos/carltongibson/django-filter/issues/529/comments","events_url":"https://api.github.com/repos/carltongibson/django-filter/issues/529/events","html_url":"https://github.com/carltongibson/django-filter/issues/529","id":185008145,"number":529,"title":"How to \"Serialize\" a Filter for DRF?","user":{"login":"awolfmann","id":5719122,"avatar_url":"https://avatars.githubusercontent.com/u/5719122?v=3","gravatar_id":"","url":"https://api.github.com/users/awolfmann","html_url":"https://github.com/awolfmann","followers_url":"https://api.github.com/users/awolfmann/followers","following_url":"https://api.github.com/users/awolfmann/following{/other_user}","gists_url":"https://api.github.com/users/awolfmann/gists{/gist_id}","starred_url":"https://api.github.com/users/awolfmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awolfmann/subscriptions","organizations_url":"https://api.github.com/users/awolfmann/orgs","repos_url":"https://api.github.com/users/awolfmann/repos","events_url":"https://api.github.com/users/awolfmann/events{/privacy}","received_events_url":"https://api.github.com/users/awolfmann/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-25T03:13:45Z","updated_at":"2016-10-25T16:55:28Z","closed_at":"2016-10-25T16:55:28Z","body":"I'm using Django Rest Framework, and now i'm implementing some filters on my app.\r\nI have defined a filter with fields, some of them are AllValuesMultipleFilter.\r\nThis works perfectly in the browsable API, but I would like to send through my API what are the available fields to filters, and the possibles choices to put on them, so the frontend can have the information about what are the filters to show and which options.. So i thought about  'serialize' the filter and send it in a json, but i don't know if is the right approach to deal with this?\r\n\r\nExtra comment: AllValuesMultipleFilter is not available, django_filter.AllValuesMultipleFilter throws an attribute error, so i copied that part of your code into my app, and it works fine, is this intentional thinking about deprecate it or just a mistake?\r\n\r\nThanks!"}}
{"actor":{"display_login":"carltongibson"}}