From 6b447675bb4f5f19711073008ccb8b27af1c0f11 Mon Sep 17 00:00:00 2001 From: Dan LaManna Date: Thu, 29 Aug 2024 13:34:20 -0400 Subject: [PATCH] Add django-cachalot --- isic/settings.py | 1 + requirements.txt | 5 +++++ setup.py | 2 ++ 3 files changed, 8 insertions(+) diff --git a/isic/settings.py b/isic/settings.py index d5242ae6..7bd2ea61 100644 --- a/isic/settings.py +++ b/isic/settings.py @@ -62,6 +62,7 @@ def mutate_configuration(configuration: ComposedConfiguration) -> None: "isic.studies.apps.StudiesConfig", "isic.zip_download.apps.ZipDownloadConfig", "ninja", # required because we overwrite ninja/swagger.html + "cachalot", ], *configuration.INSTALLED_APPS, ] diff --git a/requirements.txt b/requirements.txt index a213c554..dcd8635c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -27,6 +27,8 @@ dj-email-url==1.0.6 Django==5.1 django-allauth==64.1.0 django-auth-style==0.8.1 +django-cachalot==2.6.3 +django-cache-url==3.4.5 django-click==2.4.0 django-composed-configuration==0.25.0 django-configurations==2.5.1 @@ -38,6 +40,7 @@ django-json-widget==2.0.1 django-ninja==1.3.0 django-oauth-toolkit==1.7.1 django-object-actions==4.2.0 +django-redis==5.4.0 django-s3-file-field==1.0.1 django-storages==1.14.4 django-widget-tweaks==1.5.0 @@ -55,6 +58,7 @@ grpcio==1.66.0 grpcio-status==1.66.0 gunicorn==23.0.0 hashids==1.3.1 +hiredis==3.0.0 httplib2==0.22.0 idna==3.8 inflection==0.5.1 @@ -91,6 +95,7 @@ python-dateutil==2.9.0.post0 python-magic==0.4.27 pytz==2024.1 PyYAML==6.0.2 +redis==5.0.8 requests==2.32.3 rich==13.8.0 rsa==4.9 diff --git a/setup.py b/setup.py index 6313be7a..413adbca 100644 --- a/setup.py +++ b/setup.py @@ -46,6 +46,8 @@ "deepdiff", "django>=5.1,<6", "django-allauth>=0.56.0", + "django-cachalot", + "django-cache-url", "django-click", "django-configurations[database,email]", "django-extensions",