{"action":"created","issue":{"url":"https://api.github.com/repos/jrief/django-admin-sortable2/issues/69","labels_url":"https://api.github.com/repos/jrief/django-admin-sortable2/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/jrief/django-admin-sortable2/issues/69/comments","events_url":"https://api.github.com/repos/jrief/django-admin-sortable2/issues/69/events","html_url":"https://github.com/jrief/django-admin-sortable2/issues/69","id":93867239,"number":69,"title":"SortableAdminMixin object has no attribute 'get_queryset'","user":{"login":"jonearley","id":1678665,"avatar_url":"https://avatars.githubusercontent.com/u/1678665?v=3","gravatar_id":"","url":"https://api.github.com/users/jonearley","html_url":"https://github.com/jonearley","followers_url":"https://api.github.com/users/jonearley/followers","following_url":"https://api.github.com/users/jonearley/following{/other_user}","gists_url":"https://api.github.com/users/jonearley/gists{/gist_id}","starred_url":"https://api.github.com/users/jonearley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonearley/subscriptions","organizations_url":"https://api.github.com/users/jonearley/orgs","repos_url":"https://api.github.com/users/jonearley/repos","events_url":"https://api.github.com/users/jonearley/events{/privacy}","received_events_url":"https://api.github.com/users/jonearley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-08T19:16:39Z","updated_at":"2015-07-10T12:39:59Z","closed_at":null,"body":"When using the SortableAdminMixin I keep getting 'object has no attribute 'get_queryset''.\r\n\r\n```python\r\n\r\n# admin.py\r\n\r\nfrom adminsortable2.admin import SortableAdminMixin,\r\n\r\n...\r\n\r\nclass ListAdmin(SortableAdminMixin, admin.ModelAdmin):\r\n    list_per_page = 20\r\n    list_display = ('title', 'created_by', 'publish_date', 'expire_date',\r\n        'status', 'comments', 'is_featured', 'bookmatch')\r\n    search_fields = ['title', ]\r\n    filter_horizontal = ('tags',)\r\n    list_filter = ['status', ListDeleteRequestFilter,\r\n        IsFeaturedFilter, 'bookmatch', 'tags', ]\r\n\r\n    inlines = (ListItemInlineAdmin,)\r\n    actions = [draft_list, inreview_list, publish_list, archive_list,\r\n        feature_list, unfeature_list]\r\n\r\nadmin.site.register(List, ListAdmin)\r\n\r\n```\r\n\r\n```python\r\n\r\n# part of the traceback\r\n\r\n...\r\n\r\nFile \".../lib/python2.7/site-packages/adminsortable2/admin.py\" in get_actions\r\n  86.         paginator = self.get_paginator(request, self.get_queryset(request), self.list_per_page)\r\n\r\nException Type: AttributeError at /admin/selects/list/\r\nException Value: 'ListAdmin' object has no attribute 'get_queryset'\r\n\r\n```\r\n\r\nAm I doing something wrong or is this a bug?"},"comment":{"url":"https://api.github.com/repos/jrief/django-admin-sortable2/issues/comments/120400614","html_url":"https://github.com/jrief/django-admin-sortable2/issues/69#issuecomment-120400614","issue_url":"https://api.github.com/repos/jrief/django-admin-sortable2/issues/69","id":120400614,"user":{"login":"cstrap","id":146691,"avatar_url":"https://avatars.githubusercontent.com/u/146691?v=3","gravatar_id":"","url":"https://api.github.com/users/cstrap","html_url":"https://github.com/cstrap","followers_url":"https://api.github.com/users/cstrap/followers","following_url":"https://api.github.com/users/cstrap/following{/other_user}","gists_url":"https://api.github.com/users/cstrap/gists{/gist_id}","starred_url":"https://api.github.com/users/cstrap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cstrap/subscriptions","organizations_url":"https://api.github.com/users/cstrap/orgs","repos_url":"https://api.github.com/users/cstrap/repos","events_url":"https://api.github.com/users/cstrap/events{/privacy}","received_events_url":"https://api.github.com/users/cstrap/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T12:39:59Z","updated_at":"2015-07-10T12:39:59Z","body":"I think that is related to the django version used: see PR #64, fork the project and patch with that PR.\r\n\r\nCheers \r\n"}}