fix error in page filtering; sectionitems are now directly children of section

This commit is contained in:
bkfox
2016-11-15 12:27:36 +01:00
parent b8d6c435d2
commit f183669c04
3 changed files with 26 additions and 52 deletions

View File

@ -422,6 +422,7 @@ class Schedule(models.Model):
# the schedule is present.
# For ponctual programs, there is no need for a schedule, only a diffusion
class Frequency(IntEnum):
ponctual = 0b000000
first = 0b000001
second = 0b000010
third = 0b000100
@ -445,6 +446,7 @@ class Schedule(models.Model):
_('frequency'),
choices = [
(int(y), {
'ponctual': _('ponctual'),
'first': _('first week of the month'),
'second': _('second week of the month'),
'third': _('third week of the month'),