Skip to content

Commit

Permalink
https://github.com/bfirsh/django-ordered-model/pull/84/commits/7c2827…
Browse files Browse the repository at this point in the history
…d35c7ea8afe03cf09de5991fafb135dfcd
  • Loading branch information
rubengrill committed Mar 21, 2016
1 parent 1fc5769 commit 9dae627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ordered_model/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def get_queryset(cls, request):
Returns a QuerySet of all model instances that can be edited by the
admin site. This is used by changelist_view.
"""
qs = cls.model._default_manager.get_query_set()
qs = cls.model._default_manager.get_queryset()
# TODO: this should be handled by some parameter to the ChangeList.
ordering = cls.get_ordering(request)
if ordering:
Expand Down

0 comments on commit 9dae627

Please sign in to comment.