fixes the report count at the top of each page
This commit is contained in:
parent
83094b2b7e
commit
3b8f6222da
3 changed files with 11 additions and 10 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue