Update web/core/views.py

This commit is contained in:
Joshua Laymon 2025-08-22 00:40:24 +00:00
parent cee86a76d2
commit 3c282d86ec

View File

@ -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