diff --git a/netbox/core/apps.py b/netbox/core/apps.py index 9674860b97..b1337c7ed3 100644 --- a/netbox/core/apps.py +++ b/netbox/core/apps.py @@ -28,4 +28,7 @@ def ready(self): # Clear Redis cache on startup in development mode if settings.DEBUG: - cache.clear() + try: + cache.clear() + except Exception: + pass