1
0
mirror of https://github.com/django/django.git synced 2025-03-09 08:52:32 +00:00

Removed AutocompleteJsonView.paginator_class.

Unused since its introduction in 94cd8efc50c717cd00244f4b2233f971a53b205e.
This commit is contained in:
Johannes Hoppe 2019-02-27 15:54:16 +01:00 committed by Tim Graham
parent 2c0fda7f20
commit 5deb7a86e8

View File

@ -24,7 +24,6 @@ class AutocompleteJsonView(BaseListView):
return JsonResponse({'error': '403 Forbidden'}, status=403)
self.term = request.GET.get('term', '')
self.paginator_class = self.model_admin.paginator
self.object_list = self.get_queryset()
context = self.get_context_data()
return JsonResponse({