Removed AutocompleteJsonView.paginator_class.
Unused since its introduction in 94cd8efc50
.
This commit is contained in:
parent
2c0fda7f20
commit
5deb7a86e8
|
@ -24,7 +24,6 @@ class AutocompleteJsonView(BaseListView):
|
||||||
return JsonResponse({'error': '403 Forbidden'}, status=403)
|
return JsonResponse({'error': '403 Forbidden'}, status=403)
|
||||||
|
|
||||||
self.term = request.GET.get('term', '')
|
self.term = request.GET.get('term', '')
|
||||||
self.paginator_class = self.model_admin.paginator
|
|
||||||
self.object_list = self.get_queryset()
|
self.object_list = self.get_queryset()
|
||||||
context = self.get_context_data()
|
context = self.get_context_data()
|
||||||
return JsonResponse({
|
return JsonResponse({
|
||||||
|
|
Loading…
Reference in New Issue