Update web/core/views.py
This commit is contained in:
parent
cee86a76d2
commit
3c282d86ec
@ -883,8 +883,8 @@ def stats_page(request):
|
||||
"avg_refs_per_entry": avg_refs_per_entry,
|
||||
"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