ce325c9c04
The v2 RecordSet API is experimental. This commit is intended to only provide a stable experience with the V1 API. Change-Id: I168401d8ce3066a19d3538b3ec5cd36338b10b44
11 lines
357 B
Django/Jinja
11 lines
357 B
Django/Jinja
# Example input:
|
|
# {u'mail.example.com.': {u'A': [u'192.0.2.1', u'192.0.2.2']}, u'www.example.com.': {u'A': [u'192.0.2.1', u'192.0.2.2']}}
|
|
{% for name in template_data -%}
|
|
{% for rdtype in template_data[name] -%}
|
|
# RecordSet: {{name}} / {{rdtype}}
|
|
{% for record in template_data[name][rdtype] -%}
|
|
{{record}} {{name}}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
{%- endfor %}
|