UPD: adjusted wording to the new status workflow.

This commit is contained in:
2018-07-09 15:26:43 +02:00
parent ae4b842983
commit 271a0b345a
5 changed files with 8 additions and 8 deletions

View File

@@ -15,7 +15,7 @@ def notify_submitted_event(sender, **kwargs):
app_config = apps.get_containing_app_config(__package__)
if app_config.settings.enable_email_notifications:
if event.owner.email:
email = emails.NewEventMail(recipient=event.owner, event=event)
email = emails.EventSubmittedMail(recipient=event.owner, event=event)
email.send()