From d2094ea9bb2179011de1adb39b343cd9492c5506 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 15 Nov 2020 15:50:54 -0500 Subject: added site to admin forms --- app/pages/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/pages') diff --git a/app/pages/admin.py b/app/pages/admin.py index c02d892..b7c8962 100644 --- a/app/pages/admin.py +++ b/app/pages/admin.py @@ -25,7 +25,7 @@ class PageAdmin(admin.ModelAdmin): prepopulated_fields = {"slug": ('title',)} fieldsets = ( ('Page', { - 'fields': ('title', 'sub_title', 'body_markdown', ('build', 'enable_comments'), ('slug', 'path', 'app')), + 'fields': ('title', 'sub_title', 'body_markdown', ('build', 'enable_comments'), ('site','slug', 'path', 'app')), 'classes': ('show', 'extrapretty', 'wide') }), ('Metadata', { -- cgit v1.2.3-70-g09d2