mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-07 04:34:29 +08:00
Add get_supported_language_variant (#386)
This commit is contained in:
committed by
GitHub
parent
28d47c7e93
commit
25f92e8e56
@@ -66,6 +66,7 @@ def to_locale(language: str) -> str: ...
|
|||||||
def get_language_from_request(request: WSGIRequest, check_path: bool = ...) -> str: ...
|
def get_language_from_request(request: WSGIRequest, check_path: bool = ...) -> str: ...
|
||||||
def templatize(src: str, **kwargs: Any) -> str: ...
|
def templatize(src: str, **kwargs: Any) -> str: ...
|
||||||
def deactivate_all() -> None: ...
|
def deactivate_all() -> None: ...
|
||||||
|
def get_supported_language_variant(lang_code: str, strict: bool = ...) -> str: ...
|
||||||
def get_language_info(lang_code: str) -> Any: ...
|
def get_language_info(lang_code: str) -> Any: ...
|
||||||
|
|
||||||
from . import trans_real as trans_real
|
from . import trans_real as trans_real
|
||||||
|
|||||||
Reference in New Issue
Block a user