Fixed broken stats page
This commit is contained in:
parent
315e44adb1
commit
80597b1a8a
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ def count_stats(request):
|
||||||
w['weekStarts'] = tofirstdayinisoweek(w['isoyear'], w['week'])
|
w['weekStarts'] = tofirstdayinisoweek(w['isoyear'], w['week'])
|
||||||
w['weekEnds'] = w['weekStarts'] + timedelta(days=6)
|
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)
|
'weeklyArrows': json.dumps(list(weeklyArrows), cls=DjangoJSONEncoder)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue