mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-17 17:35:59 +08:00
Fix type for templatetag (#801)
This commit is contained in:
committed by
GitHub
parent
3b02222beb
commit
49bed6c28d
@@ -13,7 +13,7 @@ intword_converters: Tuple[Tuple[int, Callable]]
|
|||||||
|
|
||||||
def intword(value: Optional[Union[str, SupportsInt]]) -> Optional[Union[int, str]]: ...
|
def intword(value: Optional[Union[str, SupportsInt]]) -> Optional[Union[int, str]]: ...
|
||||||
def apnumber(value: Optional[Union[str, SupportsInt]]) -> Optional[Union[int, str]]: ...
|
def apnumber(value: Optional[Union[str, SupportsInt]]) -> Optional[Union[int, str]]: ...
|
||||||
def naturalday(value: Optional[Union[date, str]], arg: None = ...) -> Optional[str]: ...
|
def naturalday(value: Optional[Union[date, str]], arg: Optional[str] = ...) -> Optional[str]: ...
|
||||||
def naturaltime(value: datetime) -> str: ...
|
def naturaltime(value: datetime) -> str: ...
|
||||||
|
|
||||||
class NaturalTimeFormatter:
|
class NaturalTimeFormatter:
|
||||||
|
|||||||
Reference in New Issue
Block a user