invitations.admin module¶
-
class
invitations.admin.
RegistrationInvitationAdmin
(model, admin_site)[source]¶ Bases:
django.contrib.admin.options.ModelAdmin
-
date_hierarchy
= 'date_sent_first'¶
-
search_fields
= ['first_name', 'last_name', 'email', 'invitation_key']¶
-
list_display
= ['__str__', 'invitation_type', 'invited_by', 'status']¶
-
list_filter
= ['invitation_type', 'message_style', 'status']¶
-
autocomplete_fields
= ['profile', 'invited_by', 'created_by']¶
-
property
media
¶
-
-
class
invitations.admin.
CitationNotificationAdmin
(model, admin_site)[source]¶ Bases:
django.contrib.admin.options.ModelAdmin
-
date_hierarchy
= 'date_sent'¶
-
search_fields
= ['invitation__first_name', 'invitation__last_name', 'contributor__user__first_name', 'contributor__user__last_name']¶
-
list_display
= ['__str__', 'created_by', 'date_sent', 'processed']¶
-
list_filter
= ['processed']¶
-
autocomplete_fields
= ['invitation', 'contributor', 'submission', 'publication', 'created_by']¶
-
property
media
¶
-