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:
parent
2d02bf7719
commit
5a417bd7e2
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user