Browse Source

Bugfix.

remotes/origin/opraf
parent
commit
ada4d055eb
  1. 2
      korektury/views.py

2
korektury/views.py

@ -131,7 +131,7 @@ class KorekturyView(generic.TemplateView):
zasluhy[o.autor]=1 zasluhy[o.autor]=1
o.komentare = o.komentar_set.all() o.komentare = o.komentar_set.all()
for k in o.komentare: for k in o.komentare:
if o.autor in zasluhy: if k.autor in zasluhy:
zasluhy[k.autor]+=1 zasluhy[k.autor]+=1
else: else:
zasluhy[k.autor]=1 zasluhy[k.autor]=1

Loading…
Cancel
Save