Files
django-stubs/django/contrib/admin/views/autocomplete.pyi
Maxim Kurnikov a9f215bf64 initial commit
2018-07-29 18:12:23 +03:00

11 lines
473 B
Python

from django.core.handlers.wsgi import WSGIRequest
from django.core.paginator import Paginator
from django.db.models.query import QuerySet
from django.http.response import JsonResponse
class AutocompleteJsonView:
def get(self, request: WSGIRequest, *args, **kwargs) -> JsonResponse: ...
def get_paginator(self, *args, **kwargs) -> Paginator: ...
def get_queryset(self) -> QuerySet: ...
def has_perm(self, request: WSGIRequest, obj: None = ...) -> bool: ...