From 093c35f7e0ddbc37b452cc1146d70214f1c04f0c Mon Sep 17 00:00:00 2001 From: Dani Hodovic Date: Wed, 4 Dec 2024 17:52:04 -0300 Subject: [PATCH] docs: upgrade sample_deployment allauth version --- sample_deployment/poetry.lock | 10 +++++----- sample_deployment/pyproject.toml | 2 +- sample_deployment/sample_deployment/settings.py | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sample_deployment/poetry.lock b/sample_deployment/poetry.lock index 8f379c3..a600f78 100644 --- a/sample_deployment/poetry.lock +++ b/sample_deployment/poetry.lock @@ -309,13 +309,13 @@ steam = ["python3-openid (>=3.0.8)"] [[package]] name = "django-allauth-ui" -version = "1.3.1" +version = "1.5.2" description = "" optional = false -python-versions = "<4.0.0,>=3.8" +python-versions = ">=3.8" files = [ - {file = "django_allauth_ui-1.3.1-py3-none-any.whl", hash = "sha256:82c7fd45ab89e7b9e3c617e16e752b4d8ed437ca508230d26ceae0f4c7513fcc"}, - {file = "django_allauth_ui-1.3.1.tar.gz", hash = "sha256:f30b4f4da7c2c23348656c8b9b9a7bc459abd0abdfb5e9e0dc14081807b4743f"}, + {file = "django_allauth_ui-1.5.2-py3-none-any.whl", hash = "sha256:f249d96cdf859f298213308862440174a28db9fda2e9195de9f7bcad993c9455"}, + {file = "django_allauth_ui-1.5.2.tar.gz", hash = "sha256:4e2908c4313b3f0317cae292b31fc9f7fbe716d6d4a9d5b01be3bccdd0c70170"}, ] [package.dependencies] @@ -1467,4 +1467,4 @@ multidict = ">=4.0" [metadata] lock-version = "2.0" python-versions = "^3.11" -content-hash = "4e2c9bacbd4c95bba4829268fe5f1c8c72315e21eba33cfa34fbf0fc53ec4aea" +content-hash = "10a9983aef0e0a5f29bd47398703c21d66db21602e7798ae31acaf16cec83ad6" diff --git a/sample_deployment/pyproject.toml b/sample_deployment/pyproject.toml index 27bb5de..146e203 100644 --- a/sample_deployment/pyproject.toml +++ b/sample_deployment/pyproject.toml @@ -7,7 +7,7 @@ readme = "README.md" [tool.poetry.dependencies] python = "^3.11" -django-allauth-ui = "^1.3.1" +django-allauth-ui = "1.5.2" gunicorn = "^22.0.0" django-allauth = "^0.63.3" django-widget-tweaks = "^1.5.0" diff --git a/sample_deployment/sample_deployment/settings.py b/sample_deployment/sample_deployment/settings.py index 667fdb5..2e01e8e 100644 --- a/sample_deployment/sample_deployment/settings.py +++ b/sample_deployment/sample_deployment/settings.py @@ -28,8 +28,8 @@ # SECURITY WARNING: don't run with debug turned on in production! DEBUG = env("DJANGO_DEBUG", default=False) -ALLOWED_HOSTS = env.list("DJANGO_ALLOWED_HOSTS", default=[""]) -CSRF_TRUSTED_ORIGINS = [f"https://{h}" for h in ALLOWED_HOSTS] +ALLOWED_HOSTS = env.list("DJANGO_ALLOWED_HOSTS", default=["*"]) +CSRF_TRUSTED_ORIGINS = ["https://django-allauth-ui.hodovi.ch"] INTERNAL_IPS = ["127.0.0.1"]