Remove PreserveGetQuerySet mixin. Update SingleObjectList and
MultipleObjectFormActionView views to use a new get_object_list method. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -119,7 +119,7 @@ class KeyQueryResultView(SingleObjectListView):
|
||||
'title': _('Key query results'),
|
||||
}
|
||||
|
||||
def get_queryset(self):
|
||||
def get_object_list(self):
|
||||
term = self.request.GET.get('term')
|
||||
if term:
|
||||
return Key.objects.search(query=term)
|
||||
|
||||
Reference in New Issue
Block a user