Skip to content

Commit

Permalink
Merge pull request #4357 from magfest/fix-assigning-depts
Browse files Browse the repository at this point in the history
Make assigned departments editable again
  • Loading branch information
kitsuta committed May 7, 2024
2 parents c504e0e + d73342c commit 424b3f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uber/models/department.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ class Department(MagModel):
viewonly=True)
members = relationship(
'Attendee',
backref=backref('assigned_depts', order_by='Department.name', viewonly=True),
backref=backref('assigned_depts', order_by='Department.name'),
cascade='save-update,merge,refresh-expire,expunge',
order_by='Attendee.full_name',
secondary='dept_membership')
Expand Down

0 comments on commit 424b3f5

Please sign in to comment.