30 lines
568 B
Python
30 lines
568 B
Python
from django.contrib import admin
|
|
|
|
from symposion.reviews.models import NotificationTemplate, ProposalResult, ResultNotification, Review
|
|
|
|
|
|
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)
|
|
|
|
admin.site.register(
|
|
Review,
|
|
list_display=[
|
|
'proposal',
|
|
'user',
|
|
'vote',
|
|
'submitted_at',
|
|
]
|
|
)
|