invitations.views module¶
-
class
invitations.views.
RegistrationInvitationsView
(**kwargs)[source]¶ Bases:
scipost.mixins.PaginationMixin
,scipost.mixins.PermissionsMixin
,django.views.generic.list.ListView
-
permission_required
= 'scipost.can_create_registration_invitations'¶
-
paginate_by
= 10¶
-
ordering
= ['date_sent_last', 'last_name']¶
-
search_form
= None¶
-
-
class
invitations.views.
RegistrationInvitationsSentView
(**kwargs)[source]¶ Bases:
invitations.views.RegistrationInvitationsView
-
permission_required
= 'scipost.can_manage_registration_invitations'¶
-
template_name
= 'invitations/registrationinvitation_list_sent.html'¶
-
-
class
invitations.views.
RegistrationInvitationsDraftContributorView
(**kwargs)[source]¶ Bases:
invitations.views.RegistrationInvitationsView
-
permission_required
= 'scipost.can_manage_registration_invitations'¶
-
template_name
= 'invitations/registrationinvitation_list_contributors.html'¶
-
-
class
invitations.views.
RegistrationInvitationsFellowView
(**kwargs)[source]¶ Bases:
invitations.views.RegistrationInvitationsView
-
permission_required
= 'scipost.can_invite_fellows'¶
-
template_name
= 'invitations/registrationinvitation_list_fellows.html'¶
-
-
class
invitations.views.
CitationNotificationsView
(**kwargs)[source]¶ Bases:
scipost.mixins.PermissionsMixin
,scipost.mixins.PaginationMixin
,django.views.generic.list.ListView
-
permission_required
= 'scipost.can_manage_registration_invitations'¶
-
paginate_by
= 25¶
-
-
class
invitations.views.
CitationNotificationsProcessView
(*args, **kwargs)[source]¶ Bases:
scipost.mixins.PermissionsMixin
,invitations.mixins.RequestArgumentMixin
,mails.views.MailFormView
-
permission_required
= 'scipost.can_manage_registration_invitations'¶
-
form_class
¶
-
success_url
= '/invitations/citations'¶
-
mail_code
= 'citation_notification'¶
-
-
invitations.views.
create_registration_invitation_or_citation
(request)[source]¶ Create a new Registration Invitation or Citation Notification, depending whether it is meant for an already existing Contributor or not.
-
class
invitations.views.
RegistrationInvitationsUpdateView
(*args, **kwargs)[source]¶ Bases:
invitations.mixins.RequestArgumentMixin
,scipost.mixins.PermissionsMixin
,mails.views.MailFormView
-
permission_required
= 'scipost.can_create_registration_invitations'¶
-
form_class
¶
-
mail_code
= 'registration_invitation'¶
-
-
class
invitations.views.
RegistrationInvitationsMergeView
(**kwargs)[source]¶ Bases:
invitations.mixins.RequestArgumentMixin
,scipost.mixins.PermissionsMixin
,django.views.generic.edit.UpdateView
-
permission_required
= 'scipost.can_manage_registration_invitations'¶
-
form_class
¶
-
template_name
= 'invitations/registrationinvitation_form_merge.html'¶
-
success_url
= '/invitations/'¶
-
-
class
invitations.views.
RegistrationInvitationsAddCitationView
(**kwargs)[source]¶ Bases:
invitations.mixins.RequestArgumentMixin
,scipost.mixins.PermissionsMixin
,django.views.generic.edit.UpdateView
-
permission_required
= 'scipost.can_create_registration_invitations'¶
-
form_class
¶ alias of
invitations.forms.RegistrationInvitationAddCitationForm
-
template_name
= 'invitations/registrationinvitation_form_add_citation.html'¶
-
success_url
= '/invitations/'¶
-
-
class
invitations.views.
RegistrationInvitationsMarkView
(**kwargs)[source]¶ Bases:
invitations.mixins.RequestArgumentMixin
,scipost.mixins.PermissionsMixin
,django.views.generic.edit.UpdateView
-
permission_required
= 'scipost.can_manage_registration_invitations'¶
-
form_class
¶
-
template_name
= 'invitations/registrationinvitation_form_mark_as.html'¶
-
success_url
= '/invitations/'¶
-
-
class
invitations.views.
RegistrationInvitationsMapToContributorView
(**kwargs)[source]¶ Bases:
invitations.mixins.RequestArgumentMixin
,scipost.mixins.PermissionsMixin
,django.views.generic.edit.UpdateView
-
permission_required
= 'scipost.can_manage_registration_invitations'¶
-
model
¶
-
form_class
¶ alias of
invitations.forms.RegistrationInvitationMapToContributorForm
-
template_name
= 'invitations/registrationinvitation_form_map_to_contributor.html'¶
-
success_url
= '/invitations/'¶
-
-
class
invitations.views.
RegistrationInvitationsReminderView
(*args, **kwargs)[source]¶ Bases:
invitations.mixins.RequestArgumentMixin
,scipost.mixins.PermissionsMixin
,mails.views.MailFormView
-
permission_required
= 'scipost.can_manage_registration_invitations'¶
-
success_url
= '/invitations/'¶
-
form_class
¶ alias of
invitations.forms.RegistrationInvitationReminderForm
-
template_name
= 'invitations/registrationinvitation_reminder_form.html'¶
-
mail_code
= 'registration_invitation_reminder'¶
-