From 7dbb0c01c941f933914ff0f0d5567a4a7ac7e99c Mon Sep 17 00:00:00 2001 From: luxagraf Date: Fri, 29 Dec 2017 10:41:15 -0600 Subject: added build flag to admin pages --- app/pages/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/pages') diff --git a/app/pages/admin.py b/app/pages/admin.py index 7018195..e96bf5a 100644 --- a/app/pages/admin.py +++ b/app/pages/admin.py @@ -16,12 +16,12 @@ class PageEntryForm(forms.ModelForm): class PageAdmin(admin.ModelAdmin): form = PageEntryForm - list_display = ('title', 'slug', 'path') + list_display = ('title', 'slug', 'path', 'build') search_fields = ['title', 'body_markdown'] prepopulated_fields = {"slug": ('title',)} fieldsets = ( ('Page', { - 'fields': ('title', 'body_markdown', ('slug', 'path', 'app')), + 'fields': ('title', 'body_markdown', 'build', ('slug', 'path', 'app')), 'classes': ('show', 'extrapretty', 'wide') }), ('Metadata', { -- cgit v1.2.3-70-g09d2