From 8d4df3236b6fc495341622d1a9cd9d6d56d96fec Mon Sep 17 00:00:00 2001 From: Oskar Hahn Date: Sun, 1 Jul 2012 17:20:02 +0200 Subject: [PATCH] #243 fixt but, which created a second version for a new application --- openslides/application/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openslides/application/views.py b/openslides/application/views.py index f96c2c4bd..e759b329f 100644 --- a/openslides/application/views.py +++ b/openslides/application/views.py @@ -217,10 +217,10 @@ def edit(request, application_id=None): del_supporters = True original_supporters = [] if is_manager: - if application: + if application: # Edit application for s in application.supporter.all(): original_supporters.append(s) - application = managerform.save() + application = managerform.save(commit=False) elif application_id is None: application = Application(submitter=request.user) application.title = dataform.cleaned_data['title']