Django messages
hypha.apply.activity.adapters.django_messages
¶
DjangoMessagesAdapter
¶
Bases: AdapterBase
messages
class-attribute
instance-attribute
¶
messages = {BATCH_REVIEWERS_UPDATED: 'batch_reviewers_updated', BATCH_TRANSITION: 'batch_transition', BATCH_DETERMINATION_OUTCOME: 'batch_determinations', REMOVE_DOCUMENT: gettext('Successfully removed document'), SKIPPED_REPORT: 'handle_skipped_report', REPORT_FREQUENCY_CHANGED: 'handle_report_frequency', DISABLED_REPORTING: gettext('Reporting disabled'), CREATE_REMINDER: gettext('Reminder created'), DELETE_REMINDER: gettext('Reminder deleted')}
message
¶
Source code in hypha/apply/activity/adapters/base.py
render_message
¶
extra_kwargs
¶
get_neat_related
¶
Source code in hypha/apply/activity/adapters/base.py
process_batch
¶
Source code in hypha/apply/activity/adapters/base.py
process
¶
Source code in hypha/apply/activity/adapters/base.py
process_send
¶
process_send(message_type, recipients, events, request, user, source, sources=None, related=None, **kwargs)