don't get confused with manytomanyfields and operationdependency
This commit is contained in:
parent
168de89543
commit
e1ab9d348f
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ class ChangedObjectCollection(BaseSchema):
|
|||
continue
|
||||
dependencies = base_dependencies.copy()
|
||||
# todo: prev
|
||||
if field.is_relation:
|
||||
if field.is_relation and not field.many_to_many:
|
||||
dependencies.add(OperationDependencyObjectExists(obj=ObjectReference(
|
||||
model=field.related_model._meta.model_name,
|
||||
id=value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue