Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sqlalchemy_utils/listeners.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class Entry(Base):
parent_class = attr.parent.class_
target_class = attr.property.mapper.class_

backref = attr.property.backref
backref = attr.property.backref or attr.property.back_populates
if not backref:
raise ImproperlyConfigured(
'The relationship argument given for auto_delete_orphans needs to '
Expand Down