Update web/core/views.py

This commit is contained in:
Joshua Laymon 2025-08-22 00:21:00 +00:00
parent ecf04ef12b
commit a54d0a436d

View File

@ -833,7 +833,7 @@ def stats_page(request):
"top_books": top_books, # iterable of (book, count) "top_books": top_books, # iterable of (book, count)
"top_refs": top_refs, # iterable of (ref, count) "top_refs": top_refs, # iterable of (ref, count)
}, },
)
def is_superuser(user): def is_superuser(user):
return user.is_superuser return user.is_superuser