diff options
author | luxagraf <sng@luxagraf.net> | 2020-11-15 15:50:54 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-11-15 15:50:54 -0500 |
commit | d2094ea9bb2179011de1adb39b343cd9492c5506 (patch) | |
tree | f287e6687ded8003c1391a0b7876a1f51de2348a /app/pages | |
parent | 82e2c3d634a23d07465945bd5ca5c7a51630752f (diff) |
added site to admin forms
Diffstat (limited to 'app/pages')
-rw-r--r-- | app/pages/admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
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', { |