Email template changes

This commit is contained in:
fergalmoran
2013-05-03 15:50:10 +01:00
parent 2673789557
commit d3efae5ff7
2 changed files with 7 additions and 2 deletions

View File

@@ -264,7 +264,8 @@ EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = localsettings.EMAIL_HOST
EMAIL_PORT = localsettings.EMAIL_PORT
DEFAULT_FROM_EMAIL = 'chatbot@deepsouthsounds.com'
DEFAULT_FROM_EMAIL = 'DSS ChatBot <chatbot@deepsouthsounds.com>'
DEFAULT_HTTP_PROTOCOL = 'http'
if DEBUG:
import mimetypes

View File

@@ -1 +1,5 @@
<a href="{{ profile.get_absolute_url }}">{{ profile.get_nice_name }}</a> has started following you.
<a href="{{ default_http_protocol }}://{{ current_site}}/{{ profile.get_absolute_url }}">{{ profile.get_nice_name }}</a> has started following you on Deep South Sounds. <br />
This means they will get notifications about new mixes you upload. <br />
<br />
To see other notices change how you receive notifications, please go to {{ default_http_protocol }}://{{ current_site }}/me