symposion_app/vendor/symposion/reviews/admin.py

31 lines
568 B
Python
Raw Normal View History

2012-09-08 23:29:18 +00:00
from django.contrib import admin
2017-08-09 00:35:16 +00:00
from symposion.reviews.models import NotificationTemplate, ProposalResult, ResultNotification, Review
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)
2017-08-09 00:35:16 +00:00
admin.site.register(
Review,
list_display=[
'proposal',
'user',
'vote',
'submitted_at',
]
)