summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/pages/admin.py2
-rw-r--r--app/posts/admin.py1
2 files changed, 2 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', {
diff --git a/app/posts/admin.py b/app/posts/admin.py
index 2143086..9031dd5 100644
--- a/app/posts/admin.py
+++ b/app/posts/admin.py
@@ -53,6 +53,7 @@ class PostAdmin(OSMGeoAdmin):
'meta_description',
'template_name',
('featured_image','related'),
+ 'site'
),
'classes': (
'show',