mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-07 20:54:29 +08:00
11 lines
473 B
Python
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: ... |