Files
@ e726ff21a8ff
Branch filter:
Location: symposion_app/vendor/symposion/reviews/admin.py - annotation
e726ff21a8ff
808 B
text/x-python
Create regidesk app
Shows summary of all attendees with a paid ticket, including
boarding_pass status.
Currently, regidesk allows staff with the requisite permission the
ability to view the checkin status of attendees, and email the user
their boarding pass email.
Included is a view for the user to retrieve their own QR code (in case
they got the plain-text version of the email, they can use this to
download an image to their phone for faster checkin)
Shows summary of all attendees with a paid ticket, including
boarding_pass status.
Currently, regidesk allows staff with the requisite permission the
ability to view the checkin status of attendees, and email the user
their boarding pass email.
Included is a view for the user to retrieve their own QR code (in case
they got the plain-text version of the email, they can use this to
download an image to their phone for faster checkin)
c87225674f6e c87225674f6e e63f7b7a7e78 c87225674f6e c87225674f6e 45706074d644 45706074d644 45706074d644 45706074d644 45706074d644 45706074d644 45706074d644 45706074d644 45706074d644 45706074d644 45706074d644 45706074d644 45706074d644 c7608fb0d5fa 9bf90b411ec2 9bf90b411ec2 9bf90b411ec2 9bf90b411ec2 9bf90b411ec2 9bf90b411ec2 e63f7b7a7e78 e63f7b7a7e78 e63f7b7a7e78 e63f7b7a7e78 e63f7b7a7e78 e63f7b7a7e78 e63f7b7a7e78 e63f7b7a7e78 e63f7b7a7e78 e63f7b7a7e78 | 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,
list_display=['proposal','timestamp','to_address','subject'],
search_fields = ['proposal__title','to_address','subject'],
readonly_fields = ['proposal','timestamp','template','to_address','from_address','subject','body']
)
admin.site.register(
Review,
list_display=[
'proposal',
'user',
'vote',
'submitted_at',
]
)
|