From a225652ca099f73e4383b7ef50ce162eee9e5624 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Reuiller?= Date: Mon, 9 Oct 2023 11:27:18 +0200 Subject: [PATCH 1/2] set wysiwyg to description --- lemarche/www/tenders/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemarche/www/tenders/forms.py b/lemarche/www/tenders/forms.py index a99f78fe5..14c8e6f6f 100644 --- a/lemarche/www/tenders/forms.py +++ b/lemarche/www/tenders/forms.py @@ -17,7 +17,7 @@ class TenderCreateStepGeneralForm(forms.ModelForm): (tender_constants.KIND_PROJECT, "Sourcing inversé"), # modif par rapport à tender_constants.KIND_CHOICES ) - # description = forms.CharField(widget=CKEditorWidget(config_name="frontuser")) + description = forms.CharField(widget=CKEditorWidget(config_name="frontuser")) sectors = GroupedModelMultipleChoiceField( label=Sector._meta.verbose_name_plural, From eeac71a280d7b0f5857641c0539c9d5735fe539d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Reuiller?= Date: Mon, 9 Oct 2023 23:13:22 +0200 Subject: [PATCH 2/2] remove useless CSRF_TRUSTED_ORIGINS --- config/settings/prod.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/config/settings/prod.py b/config/settings/prod.py index 7457dc5c3..723df3469 100644 --- a/config/settings/prod.py +++ b/config/settings/prod.py @@ -14,12 +14,6 @@ "bitoubi-django.cleverapps.io", ] -CSRF_TRUSTED_ORIGINS = [ - "https://*.inclusion.beta.gouv.fr", - # "https://bitoubi-django.cleverapps.io", -] - - SECURE_SSL_REDIRECT = env.str("SECURE_SSL_REDIRECT", True) MEDIA_URL = f"https://{S3_STORAGE_ENDPOINT_DOMAIN}/" # noqa