From 8907e19c46f14939f0a35ab25148f9b24d4bba53 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Thu, 17 Jan 2019 10:39:01 -0600 Subject: rearranged admin UI for easier editing --- app/resume/admin.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'app/resume') 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' + ) + } + ), + ) -- cgit v1.2.3-70-g09d2