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>
This commit is contained in:
Dan McGee 2011-05-02 11:25:40 -05:00
parent 2d02bf7719
commit 5a417bd7e2

View File

@ -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()