Commit 7ad7b2bf by Bence Dányi

firewall_gui: save host field in dns records

parent 8233cbdc
......@@ -807,6 +807,7 @@ def save_record(request):
record.address = data['address']
set_field(record, 'owner', errors, username=data['owner']['name'])
set_field(record, 'domain', errors, name=data['domain']['name'])
set_field(record, 'host', errors, hostname=data['host']['name'])
try:
record.full_clean()
except Exception as e:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment