diff options
| -rw-r--r-- | models.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -77,7 +77,7 @@ class GroupManager(Manager):          if len(group.subgroup) != 0:              groups_criteria |= reduce(lambda x, y: x | y,                                        [Q(subgroup=group.subgroup[:i]) -                                       for i in range(1, len(group.subgroup + 1))]) +                                       for i in range(1, len(group.subgroup) + 1)])          return self.get_queryset().filter(groups_criteria, mention=group.mention,                                            timetable=group.timetable) | 
