summaryrefslogtreecommitdiff
path: root/app/pages
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-11-25 15:06:27 -0500
committerluxagraf <sng@luxagraf.net>2020-11-25 15:06:27 -0500
commita5b9a5506eaecd79bd5742cb76ff877bc7a08f07 (patch)
tree5a011dff4b8a231340a22485cf94229e34d9fab2 /app/pages
parentef650eac7c46701974695868101e465308215c6a (diff)
pages admin fix.
Diffstat (limited to 'app/pages')
-rw-r--r--app/pages/admin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/pages/admin.py b/app/pages/admin.py
index bd37223..314b47e 100644
--- a/app/pages/admin.py
+++ b/app/pages/admin.py
@@ -19,7 +19,7 @@ class PageEntryForm(forms.ModelForm):
@admin.register(Page)
class PageAdmin(admin.ModelAdmin):
- form = PageEntryForm
+ form = LGEntryForm
list_display = ('title', 'site', 'slug', 'path', 'app', 'build')
search_fields = ['title', 'body_markdown']
prepopulated_fields = {"slug": ('title',)}