mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-10 22:11:54 +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 value_from_object(self, obj: Model) -> _GT: ...
|
||||
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]):
|
||||
_pyi_private_set_type: Union[float, int, str, Combinable]
|
||||
|
||||
Reference in New Issue
Block a user