This commit is contained in:
collerek
2021-06-08 14:34:02 +02:00
parent a1557273b0
commit 96c9615229
49 changed files with 1917 additions and 994 deletions

View File

@ -13,11 +13,11 @@ changes one of the sides of the relation into weakref.proxy to model.
**Arguments**:
- `to_field (ForeignKeyField)`: field with relation definition
- `parent (Model)`: parent model
- `child (Model)`: child model
- `to_field` (`ForeignKeyField`): field with relation definition
- `parent` (`Model`): parent model
- `child` (`Model`): child model
**Returns**:
`(Tuple["Model", "Model", str, str])`: parent, child, child_name, to_name
`Tuple["Model", "Model", str, str]`: parent, child, child_name, to_name