mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 17:47:08 +03:00
more config
This commit is contained in:
parent
4dd2a3c78f
commit
d47f30c9fc
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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', '')
|
||||
|
|
Loading…
Reference in New Issue
Block a user