symposion_app/symposion/reviews/admin.py

21 lines
423 B
Python
Raw Normal View History

2012-09-08 23:29:18 +00:00
from django.contrib import admin
from symposion.reviews.models import NotificationTemplate, ProposalResult, ResultNotification
2012-09-08 23:29:18 +00:00
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)