Skip to content

Commit

Permalink
docs: upgrade sample_deployment allauth version (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
danihodovic authored Dec 4, 2024
1 parent ef981b7 commit f30ac20
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions sample_deployment/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sample_deployment/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions sample_deployment/sample_deployment/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]


Expand Down

0 comments on commit f30ac20

Please sign in to comment.