mirror of
https://github.com/django/django.git
synced 2025-03-09 17:02:43 +00:00
Removed AutocompleteJsonView.paginator_class.
Unused since its introduction in 94cd8efc50c717cd00244f4b2233f971a53b205e.
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…
x
Reference in New Issue
Block a user