mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-09-21 19:23:17 +08:00
initial commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
from django.urls.resolvers import (
|
||||
CheckURLMixin,
|
||||
URLPattern,
|
||||
URLResolver,
|
||||
)
|
||||
from typing import (
|
||||
Any,
|
||||
Optional,
|
||||
Type,
|
||||
Union,
|
||||
)
|
||||
|
||||
|
||||
def _path(
|
||||
route: str,
|
||||
view: Any,
|
||||
kwargs: Any = ...,
|
||||
name: Optional[str] = ...,
|
||||
Pattern: Type[CheckURLMixin] = ...
|
||||
) -> Union[URLPattern, URLResolver]: ...
|
||||
|
||||
|
||||
def include(arg: Any, namespace: Optional[str] = ...) -> Any: ...
|
||||
Reference in New Issue
Block a user