From eaabd961047cb84a21e6cab97fab0d4f68ec6cc5 Mon Sep 17 00:00:00 2001 From: Chneemann Date: Wed, 14 Aug 2024 21:02:44 +0200 Subject: [PATCH] update requirements --- backend/requirements.txt | 14 +++++++++++++- backend/videoflix/videoflix/settings.py | 5 +++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/backend/requirements.txt b/backend/requirements.txt index 5ad5453..3cade46 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -1,22 +1,34 @@ asgiref==3.8.1 +certifi==2024.7.4 +charset-normalizer==3.3.2 click==8.1.7 diff-match-patch==20230430 Django==5.0.7 django-cors-headers==4.4.0 django-debug-toolbar==4.4.6 +django-grip==3.5.0 django-import-export==4.1.1 django-redis==5.4.0 django-rq==2.10.2 djangorestframework==3.15.2 ffmpeg-python==0.2.0 future==1.0.0 +gripcontrol==4.2.0 +idna==3.7 imageio-ffmpeg==0.5.1 +MarkupSafe==2.1.5 numpy==2.0.1 pillow==10.4.0 psutil==6.0.0 psycopg2-binary==2.9.9 +pubcontrol==3.5.0 +PyJWT==2.9.0 redis==5.0.8 +requests==2.32.3 rq==1.16.2 setuptools==72.1.0 +six==1.16.0 sqlparse==0.5.1 -tablib==3.5.0 \ No newline at end of file +tablib==3.5.0 +urllib3==2.2.2 +Werkzeug==3.0.3 \ No newline at end of file diff --git a/backend/videoflix/videoflix/settings.py b/backend/videoflix/videoflix/settings.py index 681f113..a6cc9fc 100644 --- a/backend/videoflix/videoflix/settings.py +++ b/backend/videoflix/videoflix/settings.py @@ -44,6 +44,11 @@ ALLOWED_HOSTS = [ CORS_ALLOWED_ORIGINS = [ 'https://34.65.103.198', 'http://localhost:4200', + 'https://videoflix.andre-kempf.com', +] + +CSRF_TRUSTED_ORIGINS = [ + 'https://videoflix-django.andre-kempf.com', ] # Application definition