diff options
| author | Alban Gruin | 2017-11-25 13:25:51 +0100 | 
|---|---|---|
| committer | Alban Gruin | 2017-11-25 13:25:51 +0100 | 
| commit | b99dbd566fba7f3c18d3832edeb8e019abcc8c87 (patch) | |
| tree | 88696e113e3252f25364dc4cb524fc0f330cde16 | |
| parent | 68248f075dc750d7de5c0d060721ecce8f988217 (diff) | |
Ne sélectionne plus les sous-groupes
| -rw-r--r-- | models.py | 2 | 
1 files changed, 1 insertions, 1 deletions
@@ -72,7 +72,7 @@ class Timetable(SlugModel):  class GroupManager(Manager):      def get_parents(self, group): -        groups_criteria = Q(subgroup="") | Q(subgroup__startswith=group.subgroup) +        groups_criteria = Q(subgroup="")          if len(group.subgroup) != 0:              groups_criteria |= reduce(lambda x, y: x | y,  | 
