summaryrefslogtreecommitdiff
path: root/app/resume/admin.py
blob: 93b186ea35b9c6fb3379d66b5e2f59e66a388f18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from django.contrib import admin

from .models import Publisher, PubItem


class PublisherAdmin(admin.ModelAdmin):
    pass


class PubItemAdmin(admin.ModelAdmin):
    list_display = ('title', 'pub_date', 'publisher', 'admin_link')
    pass

admin.site.register(Publisher, PublisherAdmin)
admin.site.register(PubItem, PubItemAdmin)