news.admin module

class news.admin.NewsLetterNewsItemsTableInline(parent_model, admin_site)[source]

Bases: django.contrib.admin.options.TabularInline

model

alias of news.models.NewsLetterNewsItemsTable

property media
class news.admin.NewsLetterAdmin(model, admin_site)[source]

Bases: django.contrib.admin.options.ModelAdmin

search_fields = ['intro', 'closing']
list_display = ['__str__', 'published']
inlines = [<class 'news.admin.NewsLetterNewsItemsTableInline'>]
property media
class news.admin.NewsItemAdmin(model, admin_site)[source]

Bases: django.contrib.admin.options.ModelAdmin

search_fields = ['blurb', 'followup_link_text']
list_display = ['__str__', 'published', 'on_homepage']
property media