invalidateversionedcaches.py 314 B

1234567891011
  1. from django.core.management.base import BaseCommand
  2. from misago.cache.cache import invalidate_all_caches
  3. class Command(BaseCommand):
  4. help = 'Invalidates versioned caches'
  5. def handle(self, *args, **options):
  6. invalidate_all_caches()
  7. self.stdout.write("Invalidated all versioned caches.")