mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-09 22:12:22 +01:00
11 lines
227 B
Python
11 lines
227 B
Python
from django.core.management.base import BaseCommand
|
|
|
|
from stats.utils import recache_stats
|
|
|
|
|
|
class Command(BaseCommand):
|
|
help = "Update the statistics cache"
|
|
|
|
def handle(self, *args, **options):
|
|
recache_stats()
|