quick fix on bugs due to Django 1.10

This commit is contained in:
bkfox
2016-08-19 19:35:05 +02:00
parent a82b73f70e
commit ae8162643e
9 changed files with 59 additions and 52 deletions

View File

@@ -123,11 +123,17 @@ class Sound(Nameable):
excerpt = 0x02,
removed = 0x03,
program = models.ForeignKey(
'Program',
verbose_name = _('program'),
blank = True, null = True,
help_text = _('program related to it'),
)
diffusion = models.ForeignKey(
'Diffusion',
verbose_name = _('diffusion'),
blank = True, null = True,
help_text = _('this is set for scheduled programs')
help_text = _('initial diffusion related it')
)
type = models.SmallIntegerField(
verbose_name = _('type'),