diff options
author | luxagraf <sng@luxagraf.net> | 2019-01-13 11:51:02 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-01-13 11:51:02 -0600 |
commit | c4da428fc9ec439389b7473ba5638d9f82085475 (patch) | |
tree | 2c135804e201b3008fe56db25d993881a49da686 /app/resume/admin.py | |
parent | 120021d565eefa0318c487f0ff5707c7b9893b43 (diff) |
updated income and resume apps
Diffstat (limited to 'app/resume/admin.py')
-rw-r--r-- | app/resume/admin.py | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/app/resume/admin.py b/app/resume/admin.py index 93b186e..0a7594d 100644 --- a/app/resume/admin.py +++ b/app/resume/admin.py @@ -1,15 +1,23 @@ from django.contrib import admin -from .models import Publisher, PubItem +from .models import Publisher, PubItem, Job, Resume -class PublisherAdmin(admin.ModelAdmin): +@admin.register(Job) +class JobAdmin(admin.ModelAdmin): + pass + + +@admin.register(Resume) +class ResumeAdmin(admin.ModelAdmin): pass +@admin.register(Publisher) +class PublisherAdmin(admin.ModelAdmin): + pass + +@admin.register(PubItem) class PubItemAdmin(admin.ModelAdmin): list_display = ('title', 'pub_date', 'publisher', 'admin_link') pass - -admin.site.register(Publisher, PublisherAdmin) -admin.site.register(PubItem, PubItemAdmin) |