From 54504138b269c24525a4bc438a1ee5b92df3ffcf Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 10 Sep 2021 16:39:56 +0200 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=20Add=20`django-cors-headers`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/poetry.lock | 17 ++++++++++++++++- backend/pyproject.toml | 1 + 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/backend/poetry.lock b/backend/poetry.lock index 09ad9a7..253e758 100644 --- a/backend/poetry.lock +++ b/backend/poetry.lock @@ -56,6 +56,17 @@ sqlparse = ">=0.2.2" argon2 = ["argon2-cffi (>=19.1.0)"] bcrypt = ["bcrypt"] +[[package]] +name = "django-cors-headers" +version = "3.8.0" +description = "django-cors-headers is a Django application for handling the server headers required for Cross-Origin Resource Sharing (CORS)." +category = "main" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +Django = ">=2.2" + [[package]] name = "django-filter" version = "2.4.0" @@ -252,7 +263,7 @@ test = ["websockets"] [metadata] lock-version = "1.1" python-versions = "^3.9" -content-hash = "a5a017aca2292f4971d784ed3fff0e042f92f5e2f17e426f5d92ad4f7ce924f3" +content-hash = "b1d044930eba71b59cd1a43275fb403aa0d49f4085fd562ff08e67da8675d2d7" [metadata.files] asgiref = [ @@ -275,6 +286,10 @@ django = [ {file = "Django-3.2.7-py3-none-any.whl", hash = "sha256:e93c93565005b37ddebf2396b4dc4b6913c1838baa82efdfb79acedd5816c240"}, {file = "Django-3.2.7.tar.gz", hash = "sha256:95b318319d6997bac3595517101ad9cc83fe5672ac498ba48d1a410f47afecd2"}, ] +django-cors-headers = [ + {file = "django-cors-headers-3.8.0.tar.gz", hash = "sha256:4b8e13bf8d3df50ac4b986bd87085c3073dd56402ede109222ea34a774f9ec1b"}, + {file = "django_cors_headers-3.8.0-py3-none-any.whl", hash = "sha256:425c20ceffa42b9ac11b02611eece4ae6c5fef2ff0f039c14c1df20e00c80df8"}, +] django-filter = [ {file = "django-filter-2.4.0.tar.gz", hash = "sha256:84e9d5bb93f237e451db814ed422a3a625751cbc9968b484ecc74964a8696b06"}, {file = "django_filter-2.4.0-py3-none-any.whl", hash = "sha256:e00d32cebdb3d54273c48f4f878f898dced8d5dfaad009438fe61ebdf535ace1"}, diff --git a/backend/pyproject.toml b/backend/pyproject.toml index fd94f65..cea0051 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -15,6 +15,7 @@ pydantic = "~1.7.3" django-pam = "^2.0.0" deprecation = "^2.1.0" docker = "^5.0.2" +django-cors-headers = "^3.8.0" [tool.poetry.dev-dependencies]