mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-16 00:37:11 +08:00
19 lines
672 B
Python
19 lines
672 B
Python
from typing import Any, Callable, List, Optional, Tuple, Union
|
|
|
|
from django.core.checks.messages import CheckMessage, Error, Warning
|
|
from django.urls.resolvers import URLPattern, URLResolver
|
|
|
|
|
|
def check_url_config(
|
|
app_configs: None, **kwargs: Any
|
|
) -> List[CheckMessage]: ...
|
|
def check_resolver(
|
|
resolver: Union[Tuple[str, Callable], URLPattern, URLResolver]
|
|
) -> List[CheckMessage]: ...
|
|
def check_url_namespaces_unique(
|
|
app_configs: None, **kwargs: Any
|
|
) -> List[Warning]: ...
|
|
def get_warning_for_invalid_pattern(pattern: Any) -> List[Error]: ...
|
|
def check_url_settings(app_configs: None, **kwargs: Any) -> List[Error]: ...
|
|
def E006(name: str) -> Error: ...
|