WIP skip relation registration on m2m through instance, simplify registering relations part 2
This commit is contained in:
@ -247,7 +247,6 @@ class BaseField(FieldInfo):
|
||||
value: Any,
|
||||
child: Union["Model", "NewBaseModel"],
|
||||
to_register: bool = True,
|
||||
relation_name: str = None,
|
||||
) -> Any:
|
||||
"""
|
||||
Function overwritten for relations, in basic field the value is returned as is.
|
||||
|
||||
Reference in New Issue
Block a user