forked from rc/aircox
remove nulability of Program, rename Sound->SoundStats, update admin display
This commit is contained in:
@ -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'),
|
||||
)
|
||||
|
Reference in New Issue
Block a user