Update web/core/views.py
This commit is contained in:
parent
ecf04ef12b
commit
a54d0a436d
@ -833,7 +833,7 @@ def stats_page(request):
|
||||
"top_books": top_books, # iterable of (book, count)
|
||||
"top_refs": top_refs, # iterable of (ref, count)
|
||||
},
|
||||
|
||||
)
|
||||
def is_superuser(user):
|
||||
return user.is_superuser
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user