summaryrefslogtreecommitdiffstats
path: root/releng
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-05-02 18:25:40 +0200
committerDan McGee <dan@archlinux.org>2011-05-02 18:25:40 +0200
commit5a417bd7e24e1001a6219c18dac1e2a424982b65 (patch)
tree0db38a1d06d01aed4f7ab15e2c74d4420f7a2726 /releng
parent2d02bf77196b830f3c0022306188147f998afe0b (diff)
downloadarchweb-5a417bd7e24e1001a6219c18dac1e2a424982b65.tar.gz
archweb-5a417bd7e24e1001a6219c18dac1e2a424982b65.tar.xz
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 <dan@archlinux.org>
Diffstat (limited to 'releng')
-rw-r--r--releng/views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/releng/views.py b/releng/views.py
index f3c48cc..ae9c868 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()