diff --git a/passbook/root/settings.py b/passbook/root/settings.py index d1b218d1f..d7183510b 100644 --- a/passbook/root/settings.py +++ b/passbook/root/settings.py @@ -16,6 +16,7 @@ import sys import structlog from celery.schedules import crontab +from django.core.cache import cache from sentry_sdk import init as sentry_init from sentry_sdk.integrations.celery import CeleryIntegration from sentry_sdk.integrations.django import DjangoIntegration @@ -393,5 +394,6 @@ if DEBUG: SESSION_COOKIE_SAMESITE = None INSTALLED_APPS.append("debug_toolbar") MIDDLEWARE.append("debug_toolbar.middleware.DebugToolbarMiddleware") + cache.clear() INSTALLED_APPS.append("passbook.core.apps.PassbookCoreConfig")