From 74164b84981a1613a3723f513821dc9b3e5d339a Mon Sep 17 00:00:00 2001 From: Rust Saiargaliev Date: Tue, 18 Mar 2025 16:11:28 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=EF=B8=8F(backend)=20drop=20obsolet?= =?UTF-8?q?e=20code=20from=20the=20initial=20boilerplate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Related to 5b1a2b20de5abb79948297b062da8c2429c62aee There are no references to the `generate_document.html` template in the codebase. The same goes for the `INVITATION_VALIDITY_DURATION` setting, which arrived straigt from https://github.com/suitenumerique/docs WeasyPrint is (I believe) not used in the project, so it is a ghost dependency. --- .../core/templates/core/generate_document.html | 14 -------------- src/backend/meet/settings.py | 1 - src/backend/pyproject.toml | 1 - 3 files changed, 16 deletions(-) delete mode 100644 src/backend/core/templates/core/generate_document.html diff --git a/src/backend/core/templates/core/generate_document.html b/src/backend/core/templates/core/generate_document.html deleted file mode 100644 index ac9f2915..00000000 --- a/src/backend/core/templates/core/generate_document.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - Generate Document - - -

Generate Document

-
- {% csrf_token %} - {{ form.as_p }} - -
- - diff --git a/src/backend/meet/settings.py b/src/backend/meet/settings.py index 10f44c38..69f56b5d 100755 --- a/src/backend/meet/settings.py +++ b/src/backend/meet/settings.py @@ -314,7 +314,6 @@ class Base(Configuration): EMAIL_FROM = values.Value("from@example.com") AUTH_USER_MODEL = "core.User" - INVITATION_VALIDITY_DURATION = 604800 # 7 days, in seconds # CORS CORS_ALLOW_CREDENTIALS = True diff --git a/src/backend/pyproject.toml b/src/backend/pyproject.toml index 3935ed8e..5835b251 100644 --- a/src/backend/pyproject.toml +++ b/src/backend/pyproject.toml @@ -54,7 +54,6 @@ dependencies = [ "requests==2.32.3", "sentry-sdk==2.22.0", "url-normalize==1.4.3", - "WeasyPrint>=60.2", "whitenoise==6.9.0", "mozilla-django-oidc==4.0.1", "livekit-api==0.8.2",