diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2018-10-05 18:05:16 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2018-10-05 18:05:16 +0200 |
commit | 360788d3894f01dbbce227a23070d5241a89733f (patch) | |
tree | 5b3770c3d68d0e4c6297fcb13bb854253b516b65 /kpov_judge | |
parent | 772532d87cc97828d1e29c0ca91f50112f5a6ede (diff) |
Templates: s/iteritems/items
Diffstat (limited to 'kpov_judge')
-rw-r--r-- | kpov_judge/web/kpov_judge/templates/params.html | 2 | ||||
-rw-r--r-- | kpov_judge/web/kpov_judge/templates/results.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kpov_judge/web/kpov_judge/templates/params.html b/kpov_judge/web/kpov_judge/templates/params.html index e6d631d..0648f66 100644 --- a/kpov_judge/web/kpov_judge/templates/params.html +++ b/kpov_judge/web/kpov_judge/templates/params.html @@ -9,7 +9,7 @@ <div> <h2>Parametri</h2> <form action="" method="post"> -{% for k, v in params.iteritems() %} +{% for k, v in params.items() %} <div><span class="hover">{{k}}: <div class="tooltip">{{params_meta[k]['descriptions']['si']}}</div></span> {% if params_meta[k]["w"] %} <input type=text name="{{k}}" value="{{v}}" /> diff --git a/kpov_judge/web/kpov_judge/templates/results.html b/kpov_judge/web/kpov_judge/templates/results.html index e944d38..7f05208 100644 --- a/kpov_judge/web/kpov_judge/templates/results.html +++ b/kpov_judge/web/kpov_judge/templates/results.html @@ -6,7 +6,7 @@ <p> <h2>Rezultati</h2> <ul> -{% for k, v in results.iteritems() %} +{% for k, v in results.items() %} <li>{{k}}: {{v}}</li> {% endfor %} </ul> |