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

8 lines
179 B
Python
Raw Normal View History

2021-09-07 15:49:19 +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()