Flip source and target in Constraint import
- Legacy-Id: 3736
This commit is contained in:
parent
1c0d859a80
commit
b8a5a3e29c
|
@ -359,8 +359,8 @@ for o in WgMeetingSession.objects.all().order_by("pk").iterator():
|
|||
for target in Group.objects.filter(acronym__in=conflicting_groups):
|
||||
Constraint.objects.get_or_create(
|
||||
meeting=s.meeting,
|
||||
source=target,
|
||||
target=s.group,
|
||||
source=s.group,
|
||||
target=target,
|
||||
name=conflict_constraints[i])
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue