Files
MarietjeDjango/marietje/stats/management/commands/recache_user_stats.py
2018-12-14 16:59:44 +01:00

10 lines
236 B
Python

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()