remove phantas.ma links

This commit is contained in:
j 2021-11-24 12:50:26 +01:00
commit 11dc9f3f57
6 changed files with 17 additions and 32 deletions

View file

@ -11,7 +11,7 @@ def index(request):
form = forms.ContactForm(request.POST)
if form.is_valid():
message = 'From: %s\n\n%s' % (form.cleaned_data['email'], form.cleaned_data['message'])
subject = 'Phantas.ma/polis contact message'
subject = 'njp.ma contact message'
from_ = settings.CONTACT_FROM_EMAIL
to = [settings.CONTACT_TO_EMAIL]
msg = EmailMessage(subject, message, from_, to, reply_to=[form.cleaned_data['email']])