Révision f1db8cdd
Ajouté par Serghei Mihai il y a presque 10 ans
calebasse/personnes/views.py | ||
---|---|---|
168 | 168 |
ctx['timetables'] = timetable |
169 | 169 |
ctx['holidays'] = models.Holiday.objects \ |
170 | 170 |
.for_worker(self.object) \ |
171 |
.future() \ |
|
172 |
.order_by('start_date') |
|
171 |
.order_by('-start_date') |
|
173 | 172 |
try: |
174 | 173 |
holiday = models.Holiday.objects \ |
175 | 174 |
.for_worker(self.object) \ |
Formats disponibles : Unified diff
personnes: all holidays displayed in descending order