Fix front page stats
Compare changes
- Samuel GAIST authored
No reason to access the request that many time when the user can be put directly in the context used to render the template
@@ -27,16 +27,55 @@
This merge request fixes the way the numbers are gathered for the statistics on the front page.
It now shows an accurate picture to the user on the page whether anonymous or not.
Fixes #514 (closed)
No reason to access the request that many time when the user can be put directly in the context used to render the template