move django.conf.urls

This commit is contained in:
Maxim Kurnikov
2018-12-21 05:07:01 +03:00
parent 14435a69cc
commit 77f7334d51
5 changed files with 13 additions and 63 deletions

View File

@@ -0,0 +1,8 @@
from typing import Any, List, Tuple, Callable
from django.urls.resolvers import URLPattern
def i18n_patterns(*urls: Any, prefix_default_language: bool = ...) -> List[List[URLPattern]]: ...
def is_language_prefix_patterns_used(urlconf: str) -> Tuple[bool, bool]: ...
urlpatterns: List[Callable]

View File

@@ -0,0 +1,5 @@
from typing import Any, Callable, List
from django.urls.resolvers import URLPattern
def static(prefix: str, view: Callable = ..., **kwargs: Any) -> List[URLPattern]: ...