From ab8afc000a57acae6a205a925befe81864d75002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Fri, 10 Jun 2016 23:33:52 +0200 Subject: [PATCH] =?UTF-8?q?D=C3=A9place=20la=20config=20des=20mails=20bda?= =?UTF-8?q?=20dans=20settings.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bda/mails.py | 3 --- cof/settings_dev.py | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bda/mails.py b/bda/mails.py index a8736d54..c11693f8 100644 --- a/bda/mails.py +++ b/bda/mails.py @@ -8,9 +8,6 @@ from gestioncof.decorators import buro_required from bda.models import Spectacle, Attribution -RAPPEL_FROM = 'Le BdA ' -RAPPEL_REPLY_TO = RAPPEL_FROM - def render_template(template_name, data): tmpl = loader.get_template(template_name) ctxt = Context(data) diff --git a/cof/settings_dev.py b/cof/settings_dev.py index 75f67646..e8c88cff 100644 --- a/cof/settings_dev.py +++ b/cof/settings_dev.py @@ -130,6 +130,9 @@ PETITS_COURS_FROM = "Le COF " PETITS_COURS_BCC = "archivescof@gmail.com" PETITS_COURS_REPLYTO = "cof@ens.fr" +RAPPEL_FROM = 'Le BdA ' +RAPPEL_REPLY_TO = RAPPEL_FROM + LOGIN_URL = "/login" LOGIN_REDIRECT_URL = "/"