mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-05-11 06:32:51 +02:00
11 lines
236 B
Python
11 lines
236 B
Python
from django.core.management.base import BaseCommand
|
|
|
|
from purchase.models import Cache
|
|
|
|
|
|
class Command(BaseCommand):
|
|
help = "Refresh cache"
|
|
|
|
def handle(self, *args, **options): # noqa: ARG002
|
|
Cache.get_solo().refresh()
|