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:
@@ -27,7 +27,7 @@ class ResultsView(SearchModelMixin, SingleObjectListView):
|
||||
|
||||
return context
|
||||
|
||||
def get_queryset(self):
|
||||
def get_object_list(self):
|
||||
self.search_model = self.get_search_model()
|
||||
|
||||
if self.request.GET:
|
||||
|
||||
Reference in New Issue
Block a user