Admin: calculate stats from admin page#4063
Conversation
|
I would also like to rewrite the current |
Codecov Report❌ Patch coverage is 🚀 New features to boost your workflow:
|
mathjazz
left a comment
There was a problem hiding this comment.
Great work!
We should probably just calculate stats of the enabled projects, right @flodolo?
Also, I'd move the button (perhaps called "Re-calculate stats"?) outside the search / filter area to the top right corner of the header of the page (see the position of the dropdwn on the Team pages).
Yes, no point in running it on obsolete projects. |
|
We probably want to mention this in documentation, and why/when it might be needed? |
Would it make sense to put it in Maintenance? |
This PR allows admins to calculate all project statistics directly via the
/adminpage, which removes the need for using the./manage.py calculate_statscommand via the python shell.Fixes #3879.