From 360788d3894f01dbbce227a23070d5241a89733f Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Fri, 5 Oct 2018 18:05:16 +0200 Subject: Templates: s/iteritems/items --- kpov_judge/web/kpov_judge/templates/params.html | 2 +- kpov_judge/web/kpov_judge/templates/results.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kpov_judge/web') 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 @@

Parametri

-{% for k, v in params.iteritems() %} +{% for k, v in params.items() %}
{{k}}:
{{params_meta[k]['descriptions']['si']}}
{% if params_meta[k]["w"] %} 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 @@

Rezultati

    -{% for k, v in results.iteritems() %} +{% for k, v in results.items() %}
  • {{k}}: {{v}}
  • {% endfor %}
-- cgit v1.2.1