summaryrefslogtreecommitdiff
path: root/app/resume
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-01-17 10:39:01 -0600
committerluxagraf <sng@luxagraf.net>2019-01-17 10:39:01 -0600
commit8907e19c46f14939f0a35ab25148f9b24d4bba53 (patch)
tree3937b70448b614e4eb44fcf98027086c033c6765 /app/resume
parent932fc0985e3e94feecb012fff4c873c917d9f5be (diff)
rearranged admin UI for easier editing
Diffstat (limited to 'app/resume')
-rw-r--r--app/resume/admin.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/resume/admin.py b/app/resume/admin.py
index bf4f8a0..57c5860 100644
--- a/app/resume/admin.py
+++ b/app/resume/admin.py
@@ -23,3 +23,21 @@ class PublisherAdmin(admin.ModelAdmin):
class PubItemAdmin(admin.ModelAdmin):
form = LGEntryForm
list_display = ('title', 'pub_date', 'publisher', 'admin_link')
+ fieldsets = (
+ ('', {
+ 'fields': (
+ 'title',
+ 'body_markdown',
+ 'slug',
+ 'pub_date',
+ 'url',
+ 'publisher',
+ ),
+ 'classes': (
+ 'show',
+ 'extrapretty',
+ 'wide'
+ )
+ }
+ ),
+ )