Upgrade Django and everything else

This commit is contained in:
Jake Howard 2023-04-16 15:41:16 +01:00
parent 6342726d7c
commit bc95a8ea21
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 10 additions and 8 deletions

View file

@ -1,33 +1,33 @@
Django==4.0.10 Django==4.1.8
wagtail==4.1.4 wagtail==4.1.4
django-environ==0.9.0 django-environ==0.10.0
whitenoise[brotli]==6.4.0 whitenoise[brotli]==6.4.0
Pygments==2.15.0 Pygments==2.15.0
beautifulsoup4==4.11.2 beautifulsoup4==4.11.2
lxml==4.9.1 lxml==4.9.1
requests==2.28.1 requests==2.28.2
wagtail-generic-chooser==0.5.1 wagtail-generic-chooser==0.5.1
django-rq==2.7.0 django-rq==2.7.0
django-redis==5.2.0 django-redis==5.2.0
gunicorn==20.1.0 gunicorn==20.1.0
psycopg2==2.9.5 psycopg2==2.9.6
djangorestframework djangorestframework
django-htmx==1.14.0 django-htmx==1.14.0
wagtail-metadata==4.0.3 wagtail-metadata==4.0.3
humanize==4.6.0 humanize==4.6.0
django-plausible==0.4.0 django-plausible==0.4.0
sentry-sdk==1.15.0 sentry-sdk==1.19.1
django-sri==0.5.0 django-sri==0.5.0
wagtail-2fa==1.6.5 wagtail-2fa==1.6.5
django-health-check==3.17.0 django-health-check==3.17.0
wagtail-autocomplete==0.10.0 wagtail-autocomplete==0.10.0
Wand==0.6.10 Wand==0.6.11
django3-cache-decorator==0.5.2 django3-cache-decorator==0.5.2
django-cors-headers==3.14.0 django-cors-headers==3.14.0
django-csp==3.7 django-csp==3.7
django-permissions-policy==4.15.0 django-permissions-policy==4.15.0
django-enforce-host==1.1.0 django-enforce-host==1.1.0
django-proxy==1.2.1 django-proxy==1.2.2
# DRF OpenAPI dependencies # DRF OpenAPI dependencies
uritemplate uritemplate

View file

@ -147,7 +147,9 @@ WAGTAIL_REDIRECTS_FILE_STORAGE = "cache"
RQ_QUEUES = {} RQ_QUEUES = {}
USE_REDIS_QUEUE = False USE_REDIS_QUEUE = False
if queue_store := env.cache("QUEUE_STORE_URL", default=None): if queue_store := env.cache(
"QUEUE_STORE_URL", default=None, backend="django_redis.cache.RedisCache"
):
CACHES["rq"] = queue_store CACHES["rq"] = queue_store
USE_REDIS_QUEUE = True USE_REDIS_QUEUE = True
RQ_QUEUES["default"] = {"USE_REDIS_CACHE": "rq"} RQ_QUEUES["default"] = {"USE_REDIS_CACHE": "rq"}