Skip to content

Commit

Permalink
[GH4] Manager.hslice() was not using internally filtered queryset
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanm committed Apr 29, 2011
1 parent 88196ea commit 06026f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_hstore/hstore.py
Expand Up @@ -98,7 +98,7 @@ def hpeek(self, attr, key, **params):

def hslice(self, attr, keys, **params):
queryset = (self.filter(**params) if params else self.get_query_set())
return self.get_query_set().hslice(attr, keys)
return queryset.hslice(attr, keys)

try:
from south.modelsinspector import add_introspection_rules
Expand Down

0 comments on commit 06026f7

Please sign in to comment.