mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-07 20:54:29 +08:00
12 lines
350 B
Python
12 lines
350 B
Python
from typing import Any, List, Optional, Tuple, Union
|
|
|
|
from django.urls.resolvers import URLPattern, URLResolver
|
|
|
|
|
|
def i18n_patterns(
|
|
*urls: Any, prefix_default_language: bool = ...
|
|
) -> Union[List[URLPattern], List[List[Any]], List[URLResolver]]: ...
|
|
def is_language_prefix_patterns_used(urlconf: str) -> Tuple[bool, bool]: ...
|
|
|
|
urlpatterns: Any
|