root / snf-pithos-app / pithos / api / templates / accounts.xml @ 4a66acbf
History | View | Annotate | Download (406 Bytes)
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
---|---|
2 |
{% load get_type %} |
3 |
<accounts>
|
4 |
{% for account in accounts %} |
5 |
<account>
|
6 |
{% for key, value in account.items %} |
7 |
<{{ key }}>{% if value|get_type == "dict" %} |
8 |
{% for k, v in value.iteritems %}<key>{{ k }}</key><value>{{ v }}</value> |
9 |
{% endfor %} |
10 |
{% else %}{{ value }}{% endif %}</{{ key }}> |
11 |
{% endfor %} |
12 |
</account>
|
13 |
{% endfor %} |
14 |
</accounts>
|