print error if encountered in deleting records form
This commit is contained in:
parent
26acc4f51c
commit
b803923331
|
@ -173,8 +173,9 @@ def view_delete_result(request):
|
||||||
if form.is_valid():
|
if form.is_valid():
|
||||||
clean_form = form.cleaned_data
|
clean_form = form.cleaned_data
|
||||||
else:
|
else:
|
||||||
# TODO: Add unit test here.
|
# TODO: What situations would cause this form
|
||||||
pass
|
# not to validate?
|
||||||
|
print "in view_delete_result, form errors: %r" % form.errors
|
||||||
|
|
||||||
delete_result = helpers.delete_record(clean_form["dns_server"],
|
delete_result = helpers.delete_record(clean_form["dns_server"],
|
||||||
clean_form["rr_list"],
|
clean_form["rr_list"],
|
||||||
|
|
Loading…
Reference in New Issue