No output in mate list

This commit is contained in:
2016-10-06 10:45:18 +02:00
parent ffed1ef6e8
commit 26833e389a
2 changed files with 15 additions and 13 deletions

View File

@@ -12,6 +12,7 @@
{% block body %}
<div id="content-main">
<div class="row">
</div>
<div class="col-md-7">
<h2>Neueste Nachrichten</h2>
<p class="text-right">
@@ -110,9 +111,8 @@
</th>
{% endfor %}
</tr>
{% for mandant in mandant_dict %}
{% for mate in mandant_dict.mandant %}
{% for mandant, list in mandant_dict.items %}
{% for mate in list %}
<tr>
<td>{{ mate.mate.first_name }}</td>
<td>{{ mate.sum_score }}</td>

View File

@@ -450,8 +450,10 @@ def matchday(request, ls, season, matchday, template_name='md.html'):
except:
cur_group = "N/A"
debug += str(mandant_dict)
return render(request, 'md.html', {
#'debug': debug,
'debug': debug,
#'mds_season': mds_in_season,
'cur_md': matchday,
'md_name': cur_group,