mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-16 00:37:11 +08:00
* add import_all.test builder * fix errors * fix typechecking errors * fix migrations typechecking
11 lines
349 B
Python
11 lines
349 B
Python
from typing import Any
|
|
|
|
from django.contrib.admin.options import ModelAdmin
|
|
from django.core.handlers.wsgi import WSGIRequest
|
|
from django.views.generic.list import BaseListView
|
|
|
|
class AutocompleteJsonView(BaseListView):
|
|
model_admin: ModelAdmin = ...
|
|
term: Any = ...
|
|
def has_perm(self, request: WSGIRequest, obj: None = ...) -> bool: ...
|