fixes the report count at the top of each page

This commit is contained in:
Nathan Dinsmore 2013-01-15 17:12:05 -05:00
parent 83094b2b7e
commit 3b8f6222da
3 changed files with 11 additions and 10 deletions

View file

@ -66,8 +66,7 @@ def index(request, full=True):
'users_online': users_online,
'online_count': users_count,
'guest_count': guest_count,
'last_user': User.objects.latest('date_joined'),
'can_view_reports': user.has_perm('djangobb_forum.change_report')
'last_user': User.objects.latest('date_joined')
}
if full:
return render(request, 'djangobb_forum/index.html', to_return)