forked from rc/aircox
issue#1: synchronise automatically station and programs from db. For station generate a set of usual desired pages.
This commit is contained in:
@ -82,7 +82,7 @@ class ProgramAdmin(NameableAdmin):
|
||||
schedule.short_description = _("Schedule")
|
||||
|
||||
list_display = ('id', 'name', 'active', 'schedule')
|
||||
fields = NameableAdmin.fields + [ 'active' ]
|
||||
fields = NameableAdmin.fields + [ 'active', 'station' ]
|
||||
# TODO list_display
|
||||
inlines = [ ScheduleInline, StreamInline ]
|
||||
|
||||
|
@ -292,7 +292,7 @@ class Program(Nameable):
|
||||
active = models.BooleanField(
|
||||
_('active'),
|
||||
default = True,
|
||||
help_text = _('if not set this program is no longer active')
|
||||
help_text = _('if not checked this program is no longer active')
|
||||
)
|
||||
|
||||
@property
|
||||
|
Reference in New Issue
Block a user