summaryrefslogtreecommitdiff
path: root/app/essays/admin.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-03-06 11:43:50 -0600
committerluxagraf <sng@luxagraf.net>2019-03-06 11:43:50 -0600
commit72f0ad55b81f60725f4c7091545f1f92e7c6d652 (patch)
tree46b1ee12404713fe9ef45288d8ff82138ae9392a /app/essays/admin.py
parent6f9ad51fc779750c2a3c58b3a6aaff95ad4ff73c (diff)
cleaned up template headers, added essay preamble to admin
Diffstat (limited to 'app/essays/admin.py')
-rw-r--r--app/essays/admin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/essays/admin.py b/app/essays/admin.py
index 8b16c19..ed39ca3 100644
--- a/app/essays/admin.py
+++ b/app/essays/admin.py
@@ -4,6 +4,7 @@ from utils.widgets import LGEntryForm
from .models import Essay
+
@admin.register(Essay)
class EssayAdmin(admin.ModelAdmin):
form = LGEntryForm
@@ -31,6 +32,7 @@ class EssayAdmin(admin.ModelAdmin):
'originally_published_by',
'originally_published_by_url',
'afterword',
+ 'preamble',
('field_notes', 'books'),
),
'classes': (