admin: show review result

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
Hiroshi Miura 2015-06-12 08:07:49 +09:00
parent 7ff4c0b4ef
commit 45706074d6

View file

@ -1,6 +1,18 @@
from django.contrib import admin
from symposion.reviews.models import NotificationTemplate
from symposion.reviews.models import NotificationTemplate, ProposalResult
admin.site.register(NotificationTemplate)
admin.site.register(
NotificationTemplate,
list_display=[
'label',
'from_address',
'subject'
]
)
admin.site.register(
ProposalResult,
list_display=['proposal', 'status', 'score', 'vote_count', 'accepted']
)