initial commit

This commit is contained in:
Maxim Kurnikov committed 2018-07-29 18:12:23 +03:00
commit a9f215bf64
311 files changed
+13433

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
from django.urls.resolvers import (
URLPattern,
URLResolver,
)
from typing import (
Any,
Optional,
Union,
)
def url(
regex: str,
view: Any,
kwargs: Any = ...,
name: Optional[str] = ...
) -> Union[URLResolver, URLPattern]: ...
+16
View File
@@ -0,0 +1,16 @@
from django.urls.resolvers import URLResolver
from typing import (
Any,
List,
Tuple,
Union,
)
def i18n_patterns(
*urls,
prefix_default_language = ...
) -> Union[List[List[Any]], List[URLResolver]]: ...
def is_language_prefix_patterns_used(urlconf: str) -> Tuple[bool, bool]: ...
+8
View File
@@ -0,0 +1,8 @@
from django.urls.resolvers import URLPattern
from typing import (
Callable,
List,
)
def static(prefix: str, view: Callable = ..., **kwargs) -> List[URLPattern]: ...