mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-11 23:50:18 +08:00
value_to_string obj param is Model
This commit is contained in:
1 parent
0a0e1985d7
commit
344dea06b5
1 file changed
+1
-1
@@ -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