diff options
author | Alban Gruin | 2017-11-24 20:02:21 +0100 |
---|---|---|
committer | Alban Gruin | 2017-11-24 20:02:21 +0100 |
commit | b28630da06a6c1286d5cd34d6437d8dd19d6f298 (patch) | |
tree | 9e9fc9ff12fb11b43a462592bb844d977f3be209 /models.py | |
parent | 74f7317251ec068e89ee02d386b902d53f366840 (diff) |
Ajout de nouveaux tests pour ces nouveaux cas
Diffstat (limited to 'models.py')
-rw-r--r-- | models.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -116,7 +116,8 @@ class Group(models.Model): self.subgroup.startswith(subgroup) return self.timetable.id == timetable_id and \ - self.mention.startswith(mention) and \ + (self.mention.startswith(mention) or \ + mention.startswith(self.mention)) and \ subgroup_corresponds @property |