mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-24 12:51:28 +08:00
move generated stubs to separate directory, too messty
This commit is contained in:
32
django-stubs-generated/conf/urls/__init__.pyi
Normal file
32
django-stubs-generated/conf/urls/__init__.pyi
Normal file
@@ -0,0 +1,32 @@
|
||||
from collections import OrderedDict
|
||||
from typing import Any, Callable, Dict, List, Optional, Tuple, Type, Union
|
||||
|
||||
from django.contrib.flatpages.sitemaps import FlatPageSitemap
|
||||
from django.contrib.sitemaps import Sitemap
|
||||
from django.urls import include as include
|
||||
from django.urls.resolvers import URLPattern, URLResolver
|
||||
|
||||
handler400: Any
|
||||
handler403: Any
|
||||
handler404: Any
|
||||
handler500: Any
|
||||
|
||||
def url(
|
||||
regex: str,
|
||||
view: Optional[
|
||||
Union[
|
||||
Callable,
|
||||
Tuple[List[Union[URLPattern, URLResolver]], str, str],
|
||||
Tuple[Union[List[URLPattern], List[URLResolver]], None, None],
|
||||
]
|
||||
],
|
||||
kwargs: Optional[
|
||||
Union[
|
||||
Dict[str, Dict[str, Type[FlatPageSitemap]]],
|
||||
Dict[str, Dict[str, Sitemap]],
|
||||
Dict[str, OrderedDict],
|
||||
Dict[str, str],
|
||||
]
|
||||
] = ...,
|
||||
name: Optional[str] = ...,
|
||||
) -> Union[URLPattern, URLResolver]: ...
|
||||
Reference in New Issue
Block a user