{"action":"created","issue":{"url":"https://api.github.com/repos/modlinltd/django-advanced-filters/issues/30","repository_url":"https://api.github.com/repos/modlinltd/django-advanced-filters","labels_url":"https://api.github.com/repos/modlinltd/django-advanced-filters/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/modlinltd/django-advanced-filters/issues/30/comments","events_url":"https://api.github.com/repos/modlinltd/django-advanced-filters/issues/30/events","html_url":"https://github.com/modlinltd/django-advanced-filters/issues/30","id":168824720,"number":30,"title":"Datepicker doesn't seem to work on Django 1.6","user":{"login":"elJorno","id":6916250,"avatar_url":"https://avatars.githubusercontent.com/u/6916250?v=3","gravatar_id":"","url":"https://api.github.com/users/elJorno","html_url":"https://github.com/elJorno","followers_url":"https://api.github.com/users/elJorno/followers","following_url":"https://api.github.com/users/elJorno/following{/other_user}","gists_url":"https://api.github.com/users/elJorno/gists{/gist_id}","starred_url":"https://api.github.com/users/elJorno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elJorno/subscriptions","organizations_url":"https://api.github.com/users/elJorno/orgs","repos_url":"https://api.github.com/users/elJorno/repos","events_url":"https://api.github.com/users/elJorno/events{/privacy}","received_events_url":"https://api.github.com/users/elJorno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-02T08:12:20Z","updated_at":"2016-08-19T15:22:36Z","closed_at":null,"body":"From the console:\r\nTypeError: $(...).datepicker is not a function"},"comment":{"url":"https://api.github.com/repos/modlinltd/django-advanced-filters/issues/comments/241048551","html_url":"https://github.com/modlinltd/django-advanced-filters/issues/30#issuecomment-241048551","issue_url":"https://api.github.com/repos/modlinltd/django-advanced-filters/issues/30","id":241048551,"user":{"login":"asfaltboy","id":321520,"avatar_url":"https://avatars.githubusercontent.com/u/321520?v=3","gravatar_id":"","url":"https://api.github.com/users/asfaltboy","html_url":"https://github.com/asfaltboy","followers_url":"https://api.github.com/users/asfaltboy/followers","following_url":"https://api.github.com/users/asfaltboy/following{/other_user}","gists_url":"https://api.github.com/users/asfaltboy/gists{/gist_id}","starred_url":"https://api.github.com/users/asfaltboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asfaltboy/subscriptions","organizations_url":"https://api.github.com/users/asfaltboy/orgs","repos_url":"https://api.github.com/users/asfaltboy/repos","events_url":"https://api.github.com/users/asfaltboy/events{/privacy}","received_events_url":"https://api.github.com/users/asfaltboy/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T15:22:36Z","updated_at":"2016-08-19T15:22:36Z","body":"Hi @elJorno,\r\n\r\nThank you for showing interest in `django-advanced-filters` and for reporting the issue!\r\n\r\n[`datepicker`][1] is a component of jQuery UI. The plugin should be included if you use the `django-grappelli` package, but not necessarily if you don't.\r\n\r\nThis issue is somewhat similar to #2 , and you can refer to [this comment][2] for details on customizing the template and frontend behavior to your needs. Alas, toggling `grappelli` requirement easily is still on our TODO list.\r\n\r\nA potential solution specific to the datepicker widget requirement, would be to default to an [`<input type=\"date\">`][3] element for the date range field value input. This will render a nice widget in Chrome and Opera, and should fallback to a simple text input on other browsers.\r\n\r\nThanks again, and we welcome PRs if you feel like contributing 😊 \r\n\r\n[1]: https://jqueryui.com/datepicker/\r\n[2]: https://github.com/modlinltd/django-advanced-filters/issues/2#issuecomment-64698693\r\n[3]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date"}}
{"actor":{"display_login":"asfaltboy"}}