mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-10 09:42:20 +01:00
Song reporting and user stats
This commit is contained in:
committed by
Daan Sprenkels
parent
0c1f9cb08d
commit
f6fcc63450
9
marietje/stats/management/commands/recache_user_stats.py
Normal file
9
marietje/stats/management/commands/recache_user_stats.py
Normal file
@ -0,0 +1,9 @@
|
||||
from django.core.management.base import BaseCommand
|
||||
|
||||
from stats.utils import recache_user_stats
|
||||
|
||||
class Command(BaseCommand):
|
||||
help = 'Update the statistics cache'
|
||||
|
||||
def handle(self, *args, **options):
|
||||
recache_user_stats()
|
||||
Reference in New Issue
Block a user