aboutsummaryrefslogtreecommitdiff
path: root/models.py
diff options
context:
space:
mode:
authorAlban Gruin2018-02-10 15:14:15 +0100
committerAlban Gruin2018-02-10 15:14:51 +0100
commitabaa63de655d8d0a0c62224c7cca9318f39d436f (patch)
tree774050cc0ac96cfb5af53efae7b6cc868e5c67e1 /models.py
parent9b312281e0f2a9668ab90d77f212c9618daec7db (diff)
Plus d’appel à iterator()
Diffstat (limited to 'models.py')
-rw-r--r--models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/models.py b/models.py
index b762215..538d64c 100644
--- a/models.py
+++ b/models.py
@@ -59,7 +59,7 @@ class Source(models.Model):
@property
def formatted_timetables(self):
return ", ".join([str(timetable) for timetable in
- self.timetables.iterator()])
+ self.timetables.all()])
class Meta:
verbose_name = "source d’emploi du temps"