From: test test Date: Thu, 24 Jun 2021 09:44:29 +0000 (+0200) Subject: Fix "send message" link from profile : https://trackers.pilotsystems.net/probarreau... X-Git-Tag: 2.1~45 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=e046e5ea34517f2d799186f4776833bf5adff391;p=teleforma.git Fix "send message" link from profile : https://trackers.pilotsystems.net/probarreau/1117 --- diff --git a/teleforma/forms.py b/teleforma/forms.py index 38c8373f..01674afd 100644 --- a/teleforma/forms.py +++ b/teleforma/forms.py @@ -319,5 +319,4 @@ class WriteForm(PostmanWriteForm): def clean_recipients(self): """compute recipient if 'auto' is set""" recipients = self.cleaned_data['recipients'] - course = self.cleaned_data.get('course') return recipients diff --git a/teleforma/templates/postman/base_write.html b/teleforma/templates/postman/base_write.html index 15b067fb..af0ac2a7 100644 --- a/teleforma/templates/postman/base_write.html +++ b/teleforma/templates/postman/base_write.html @@ -29,15 +29,15 @@ {{ form.errors.recipients }} -