From 5a417bd7e24e1001a6219c18dac1e2a424982b65 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 2 May 2011 11:25:40 -0500 Subject: releng: ensure we save M2M values from submission form Whoops- forgot to add this rather important call back in here when I made the form not auto-commit. Fixes FS#24019. Signed-off-by: Dan McGee --- releng/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/releng/views.py b/releng/views.py index f3c48cc1..ae9c8682 100644 --- a/releng/views.py +++ b/releng/views.py @@ -59,6 +59,7 @@ def submit_test_result(request): test = form.save(commit=False) test.ip_address = request.META.get("REMOTE_ADDR", None) test.save() + form.save_m2m() return redirect('releng-test-thanks') else: form = TestForm() -- cgit v1.2.3-54-g00ecf