fix sounds_monitor; fix django compatibility (v3.2)

This commit is contained in:
bkfox
2022-01-09 15:14:00 +01:00
parent c08e93d91f
commit 9efe19e052
7 changed files with 27 additions and 22 deletions

View File

@ -171,8 +171,8 @@ class Diffusion(BaseRerun):
type = models.SmallIntegerField(
verbose_name=_('type'), default=TYPE_ON_AIR, choices=TYPE_CHOICES,
)
start = models.DateTimeField(_('start'))
end = models.DateTimeField(_('end'))
start = models.DateTimeField(_('start'), db_index=True)
end = models.DateTimeField(_('end'), db_index=True)
# port = models.ForeignKey(
# 'self',
# verbose_name = _('port'),