remove nulability of Program, rename Sound->SoundStats, update admin display

This commit is contained in:
bkfox
2020-09-21 15:33:10 +02:00
parent e3151ba0bb
commit 5a17d034c4
5 changed files with 18 additions and 16 deletions

View File

@ -80,8 +80,7 @@ class Sound(models.Model):
name = models.CharField(_('name'), max_length=64)
program = models.ForeignKey(
# FIXME: not nullable?
Program, models.SET_NULL, blank=True, null=True,
Program, models.CASCADE,
verbose_name=_('program'),
help_text=_('program related to it'),
)