invalidateversionedcaches.py 299 B

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