Fixed broken stats page

This commit is contained in:
Claudio Maggioni (maggicl) 2019-08-05 14:51:22 +02:00
parent 315e44adb1
commit 80597b1a8a

View file

@ -80,7 +80,7 @@ def count_stats(request):
w['weekStarts'] = tofirstdayinisoweek(w['isoyear'], w['week'])
w['weekEnds'] = w['weekStarts'] + timedelta(days=6)
return render(request, 'counter/stats.html', {
return render(request, 'stats.html', {
'weeklyArrows': json.dumps(list(weeklyArrows), cls=DjangoJSONEncoder)
})