From 1f477d3b7c7faa8367fb441007d859ba7f4d2664 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Mon, 6 Nov 2017 16:56:38 +0100 Subject: [PATCH] stops on error --- rowers/mailprocessing.py | 5 ++- rowers/templates/document_form.html | 56 ++++++++++++++++++----------- rowers/views.py | 3 +- 3 files changed, 41 insertions(+), 23 deletions(-) diff --git a/rowers/mailprocessing.py b/rowers/mailprocessing.py index bc478527..98180c61 100644 --- a/rowers/mailprocessing.py +++ b/rowers/mailprocessing.py @@ -3,7 +3,10 @@ import shutil import time from django.conf import settings -from rowers.tasks import handle_sendemail_unrecognized +from rowers.tasks import ( + handle_sendemail_unrecognized, + handle_sendemail_unrecognizedowner + ) from django_mailbox.models import Message, MessageAttachment from rowers.models import User, Rower, RowerForm diff --git a/rowers/templates/document_form.html b/rowers/templates/document_form.html index a7236160..95a98a66 100644 --- a/rowers/templates/document_form.html +++ b/rowers/templates/document_form.html @@ -98,7 +98,7 @@ {% block scripts %} - +