mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-11 06:21:58 +08:00
initial commit
This commit is contained in:
11
django/contrib/admin/views/autocomplete.pyi
Normal file
11
django/contrib/admin/views/autocomplete.pyi
Normal file
@@ -0,0 +1,11 @@
|
||||
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: ...
|
||||
Reference in New Issue
Block a user