mirror of
https://github.com/django/django.git
synced 2025-08-02 18:13:02 +00:00
Removed AutocompleteJsonView.paginator_class.
Unused since its introduction in 94cd8efc50
.
This commit is contained in:
parent
2c0fda7f20
commit
5deb7a86e8
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue