mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-16 19:41:03 +03:00
more config
This commit is contained in:
parent
4dd2a3c78f
commit
d47f30c9fc
|
@ -4,5 +4,6 @@
|
||||||
"author_name": "Your Name",
|
"author_name": "Your Name",
|
||||||
"email": "Your email",
|
"email": "Your email",
|
||||||
"description": "A short description of the project.",
|
"description": "A short description of the project.",
|
||||||
"year": "Current year"
|
"year": "Current year",
|
||||||
|
"domain_name": "Domain name"
|
||||||
}
|
}
|
||||||
|
|
|
@ -308,7 +308,7 @@ else:
|
||||||
|
|
||||||
########## EMAIL
|
########## EMAIL
|
||||||
DEFAULT_FROM_EMAIL = environ.get('DEFAULT_FROM_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_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
|
||||||
EMAIL_HOST = environ.get('EMAIL_HOST', 'smtp.sendgrid.com')
|
EMAIL_HOST = environ.get('EMAIL_HOST', 'smtp.sendgrid.com')
|
||||||
EMAIL_HOST_PASSWORD = os.environ.get('SENDGRID_PASSWORD', '')
|
EMAIL_HOST_PASSWORD = os.environ.get('SENDGRID_PASSWORD', '')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user