diff options
Diffstat (limited to 'app/resume/admin.py')
-rw-r--r-- | app/resume/admin.py | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/app/resume/admin.py b/app/resume/admin.py deleted file mode 100644 index 8646cca..0000000 --- a/app/resume/admin.py +++ /dev/null @@ -1,59 +0,0 @@ -from django.contrib import admin - -from utils.widgets import LGEntryForm -from .models import Publisher, PubItem, Job, Resume - - -@admin.register(Job) -class JobAdmin(admin.ModelAdmin): - pass - - -@admin.register(Resume) -class ResumeAdmin(admin.ModelAdmin): - fieldsets = ( - ('', { - 'fields': ( - 'title', - 'profile', - 'skills', - 'jobs', - 'slug', - ), - 'classes': ( - 'show', - 'extrapretty', - 'wide' - ) - } - ), - ) - - -@admin.register(Publisher) -class PublisherAdmin(admin.ModelAdmin): - pass - - -@admin.register(PubItem) -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' - ) - } - ), - ) |