20 lines
No EOL
422 B
Python
20 lines
No EOL
422 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) |