Merge remote-tracking branch 'dkeightley/ns-record-support' into development

This commit is contained in:
Khanh Ngo
2018-03-30 15:49:35 +07:00
2 changed files with 5 additions and 2 deletions

View File

@ -396,7 +396,7 @@ def domain(domain_name):
if not re.search('ip6\.arpa|in-addr\.arpa$', domain_name):
editable_records = app.config['RECORDS_ALLOW_EDIT']
else:
editable_records = ['PTR']
editable_records = app.config['REVERSE_ALLOW_EDIT']
return render_template('domain.html', domain=domain, records=records, editable_records=editable_records)
else:
return redirect(url_for('error', code=404))