issue#1: synchronise automatically station and programs from db. For station generate a set of usual desired pages.

This commit is contained in:
bkfox
2016-10-12 23:37:14 +02:00
parent 8ec3693b39
commit f58f3352f2
13 changed files with 290 additions and 127 deletions

View File

@ -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 ]

View File

@ -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