more config

This commit is contained in:
Daniel Greenfeld 2013-08-16 14:36:21 +02:00
parent 4dd2a3c78f
commit d47f30c9fc
2 changed files with 3 additions and 2 deletions

View File

@ -4,5 +4,6 @@
"author_name": "Your Name",
"email": "Your email",
"description": "A short description of the project.",
"year": "Current year"
"year": "Current year",
"domain_name": "Domain name"
}

View File

@ -308,7 +308,7 @@ else:
########## EMAIL
DEFAULT_FROM_EMAIL = environ.get('DEFAULT_FROM_EMAIL',
'{{cookiecutter.project_name <{{cookiecutter.project_name-noreply@cheeseland.com>')
'{{cookiecutter.project_name}} <{{cookiecutter.project_name}}-noreply@{{cookiecutter.domain_name}}>')
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = environ.get('EMAIL_HOST', 'smtp.sendgrid.com')
EMAIL_HOST_PASSWORD = os.environ.get('SENDGRID_PASSWORD', '')