mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-07-28 00:04:16 +00:00
Overhauled app settings implementation to remove redundancy of definitions. Additionally, re-factored settings initialization code to allow for every setting to be defined by environment variable for both bare metal and Docker container deployments.
This commit is contained in:
@@ -72,9 +72,9 @@ def domain(domain_name):
|
||||
quick_edit = Setting().get('record_quick_edit')
|
||||
records_allow_to_edit = Setting().get_records_allow_to_edit()
|
||||
forward_records_allow_to_edit = Setting(
|
||||
).get_forward_records_allow_to_edit()
|
||||
).get_supported_record_types(Setting().ZONE_TYPE_FORWARD)
|
||||
reverse_records_allow_to_edit = Setting(
|
||||
).get_reverse_records_allow_to_edit()
|
||||
).get_supported_record_types(Setting().ZONE_TYPE_REVERSE)
|
||||
ttl_options = Setting().get_ttl_options()
|
||||
records = []
|
||||
|
||||
|
Reference in New Issue
Block a user