1
0
Fork 0
mirror of https://github.com/Findus23/acronomy.git synced 2024-09-19 15:33:45 +02:00
acronomy/acros/management/commands/clearcache.py

8 lines
179 B
Python
Raw Permalink Normal View History

2023-04-12 22:12:27 +02:00
from django.core.cache import cache
from django.core.management.base import BaseCommand
class Command(BaseCommand):
def handle(self, *args, **kwargs):
cache.clear()