Пример #1
0
 class Meta:
     model = RegularEvent
     widgets = {
         'intro': KanisaTinyInputWidget(),
         'details': KanisaMainInputWidget(),
         'image': KanisaThumbnailFileWidget(100, 100),
     }
Пример #2
0
 class Meta:
     fields = [
         'headline',
         'publish_until',
         'contents',
     ]
     model = SiteWideNotice
     widgets = {'contents': KanisaMainInputWidget()}
Пример #3
0
 class Meta:
     model = Sermon
     widgets = {
         'details': KanisaMainInputWidget(),
         'transcript': KanisaMainInputWidget()
     }
     fields = (
         'title',
         'date',
         'series',
         'speaker',
         'passage',
         'mp3',
         'details',
         'transcript',
         'no_mp3',
     )
Пример #4
0
 class Meta:
     model = Block
     widgets = {
         'contents': KanisaMainInputWidget(),
     }
     fields = (
         'contents',
         'referer',
     )
Пример #5
0
 class Meta:
     model = Document
     widgets = {
         'details': KanisaMainInputWidget(),
     }
     fields = (
         'title',
         'file',
         'details',
         'expiry_months',
     )
Пример #6
0
 class Meta:
     model = SermonSpeaker
     widgets = {
         'biography': KanisaMainInputWidget(),
     }
     fields = (
         'forename',
         'surname',
         'image',
         'biography',
     )
Пример #7
0
 class Meta:
     model = Page
     widgets = {
         'lead': KanisaIntroInputWidget(),
         'contents': KanisaMainInputWidget(),
     }
     fields = (
         'title',
         'lead',
         'contents',
         'draft',
         'parent',
     )
Пример #8
0
 class Meta:
     model = SermonSeries
     widgets = {
         'details': KanisaMainInputWidget(),
         'image': KanisaThumbnailFileWidget(130, 130),
     }
     fields = (
         'title',
         'image',
         'intro',
         'details',
         'active',
         'passage',
     )
Пример #9
0
 class Meta:
     model = BlogPost
     widgets = {
         'main_text': KanisaMainInputWidget(),
         'teaser_text': KanisaBlogTeaserInputWidget(),
     }
     fields = (
         'title',
         'author',
         'publish_date',
         'teaser_text',
         'main_text',
         'enable_comments',
     )
Пример #10
0
 class Meta:
     model = ScheduledEvent
     widgets = {
         'details': KanisaMainInputWidget(),
     }
     fields = (
         'event',
         'title',
         'date',
         'start_time',
         'duration',
         'end_date',
         'intro',
         'details',
         'series',
     )
Пример #11
0
 class Meta:
     model = RegularEvent
     fields = [
         'title',
         'categories',
         'image',
         'pattern',
         'start_time',
         'duration',
         'intro',
         'details',
         'autoschedule',
     ]
     widgets = {
         'intro': KanisaTinyInputWidget(),
         'details': KanisaMainInputWidget(),
         'image': KanisaThumbnailFileWidget(100, 100),
     }
Пример #12
0
 class Meta:
     model = Sermon
     widgets = {'details': KanisaMainInputWidget(),
                'transcript': KanisaMainInputWidget()}
Пример #13
0
 class Meta:
     model = SermonSpeaker
     widgets = {'biography': KanisaMainInputWidget(), }
Пример #14
0
 class Meta:
     model = SermonSeries
     widgets = {'details': KanisaMainInputWidget(),
                'image': KanisaThumbnailFileWidget(130, 130), }
Пример #15
0
 class Meta:
     model = Page
     widgets = {
         'lead': KanisaIntroInputWidget(),
         'contents': KanisaMainInputWidget(),
     }
Пример #16
0
 class Meta:
     model = Document
     widgets = {
         'details': KanisaMainInputWidget(),
     }
Пример #17
0
 class Meta:
     model = ScheduledEvent
     exclude = ('event', )
     widgets = {
         'details': KanisaMainInputWidget(),
     }
Пример #18
0
 class Meta:
     model = ScheduledEvent
     widgets = {
         'details': KanisaMainInputWidget(),
     }