1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 14:54:22 +00:00

⬆ Add django-cors-headers

This commit is contained in:
Steffo 2021-09-10 16:39:56 +02:00
parent 2f987b9c1e
commit 7659df9818
2 changed files with 17 additions and 1 deletions

17
backend/poetry.lock generated
View file

@ -56,6 +56,17 @@ sqlparse = ">=0.2.2"
argon2 = ["argon2-cffi (>=19.1.0)"] argon2 = ["argon2-cffi (>=19.1.0)"]
bcrypt = ["bcrypt"] 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]] [[package]]
name = "django-filter" name = "django-filter"
version = "2.4.0" version = "2.4.0"
@ -252,7 +263,7 @@ test = ["websockets"]
[metadata] [metadata]
lock-version = "1.1" lock-version = "1.1"
python-versions = "^3.9" python-versions = "^3.9"
content-hash = "a5a017aca2292f4971d784ed3fff0e042f92f5e2f17e426f5d92ad4f7ce924f3" content-hash = "b1d044930eba71b59cd1a43275fb403aa0d49f4085fd562ff08e67da8675d2d7"
[metadata.files] [metadata.files]
asgiref = [ asgiref = [
@ -275,6 +286,10 @@ django = [
{file = "Django-3.2.7-py3-none-any.whl", hash = "sha256:e93c93565005b37ddebf2396b4dc4b6913c1838baa82efdfb79acedd5816c240"}, {file = "Django-3.2.7-py3-none-any.whl", hash = "sha256:e93c93565005b37ddebf2396b4dc4b6913c1838baa82efdfb79acedd5816c240"},
{file = "Django-3.2.7.tar.gz", hash = "sha256:95b318319d6997bac3595517101ad9cc83fe5672ac498ba48d1a410f47afecd2"}, {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 = [ django-filter = [
{file = "django-filter-2.4.0.tar.gz", hash = "sha256:84e9d5bb93f237e451db814ed422a3a625751cbc9968b484ecc74964a8696b06"}, {file = "django-filter-2.4.0.tar.gz", hash = "sha256:84e9d5bb93f237e451db814ed422a3a625751cbc9968b484ecc74964a8696b06"},
{file = "django_filter-2.4.0-py3-none-any.whl", hash = "sha256:e00d32cebdb3d54273c48f4f878f898dced8d5dfaad009438fe61ebdf535ace1"}, {file = "django_filter-2.4.0-py3-none-any.whl", hash = "sha256:e00d32cebdb3d54273c48f4f878f898dced8d5dfaad009438fe61ebdf535ace1"},

View file

@ -15,6 +15,7 @@ pydantic = "~1.7.3"
django-pam = "^2.0.0" django-pam = "^2.0.0"
deprecation = "^2.1.0" deprecation = "^2.1.0"
docker = "^5.0.2" docker = "^5.0.2"
django-cors-headers = "^3.8.0"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]