symposion_app/symposion/reviews/admin.py
Sachi King 298b162be6 Flake8 Fixes
Mostly whitespace fixes
Some unicode fixes
Fixed up CSV writer.  str is not bytes and all.
2017-04-17 22:51:48 +10:00

20 lines
423 B
Python

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