Fix of iss11

This commit is contained in:
2016-10-06 11:20:49 +02:00
parent 26833e389a
commit b44d31d128
2 changed files with 33 additions and 34 deletions

View File

@@ -320,11 +320,11 @@ def matchday(request, ls, season, matchday, template_name='md.html'):
mandant_dict = {}
for m in mandants:
mandant = Mandant.objects.get(id=m)
mandant_dict[mandant.name] = []
mandant_dict[mandant.description] = []
rs = RelUserMandant.objects.filter(mandant=m)
for r in rs:
mandant_dict[mandant.name].append({
mandant_dict[mandant.description].append({
'mate': r.user,
'tipps': [],
'sum_score': 0