mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-11 22:41:55 +08:00
value_to_string obj param is Model
This commit is contained in:
@@ -142,7 +142,7 @@ class Field(RegisterLookupMixin, Generic[_ST, _GT]):
|
|||||||
def cached_col(self) -> Col: ...
|
def cached_col(self) -> Col: ...
|
||||||
def value_from_object(self, obj: Model) -> _GT: ...
|
def value_from_object(self, obj: Model) -> _GT: ...
|
||||||
def get_attname(self) -> str: ...
|
def get_attname(self) -> str: ...
|
||||||
def value_to_string(self, obj: Any) -> str: ...
|
def value_to_string(self, obj: Model) -> str: ...
|
||||||
|
|
||||||
class IntegerField(Field[_ST, _GT]):
|
class IntegerField(Field[_ST, _GT]):
|
||||||
_pyi_private_set_type: Union[float, int, str, Combinable]
|
_pyi_private_set_type: Union[float, int, str, Combinable]
|
||||||
|
|||||||
Reference in New Issue
Block a user