From c2b8c653fdd91e567ce10901bdc515ed6d071d25 Mon Sep 17 00:00:00 2001 From: Ole Laursen Date: Thu, 10 May 2012 18:22:03 +0000 Subject: [PATCH] Fix bug in submit, had forgotten I had replaced filename with name in Preapproval model. - Legacy-Id: 4413 --- ietf/submit/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/submit/views.py b/ietf/submit/views.py index adf433a01..7c864a9fc 100644 --- a/ietf/submit/views.py +++ b/ietf/submit/views.py @@ -110,7 +110,7 @@ def draft_status(request, submission_id, submission_hash=None, message=None): auto_post_form = AutoPostForm(draft=detail, validation=validation, data=request.POST) if auto_post_form.is_valid(): try: - preapproval = Preapproval.objects.get(filename=detail.filename) + preapproval = Preapproval.objects.get(name=detail.filename) except Preapproval.DoesNotExist: preapproval = None