repeat email and name in message
This commit is contained in:
parent
e275db6653
commit
88d65e95b5
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ def index(request):
|
||||||
name = data['name']
|
name = data['name']
|
||||||
email = data['email']
|
email = data['email']
|
||||||
message = data['message']
|
message = data['message']
|
||||||
|
message = "Name: %s\nEmail: %s\n\n%s" % (name, email, message)
|
||||||
subject = '{} has left a message on brixton-timeline'.format(name)
|
subject = '{} has left a message on brixton-timeline'.format(name)
|
||||||
from_ = settings.CONTACT_FROM_EMAIL
|
from_ = settings.CONTACT_FROM_EMAIL
|
||||||
to = settings.CONTACT_TO_EMAIL
|
to = settings.CONTACT_TO_EMAIL
|
||||||
|
|
Loading…
Reference in a new issue