Merge pull request #92 from theskumar/fix/cookiecutter-variable

fix(cookie cutter): fixes the misuse of `repo_name`/`project_name`
This commit is contained in:
Daniel Greenfeld 2014-03-25 19:22:58 -07:00
commit 5295f21c4f
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{
"name": "{{cookiecutter.project_name}}",
"name": "{{cookiecutter.repo_name}}",
"version": "{{ cookiecutter.version }}",
"dependencies": {},
"devDependencies": {

View File

@ -365,7 +365,7 @@ class Production(Common):
########## EMAIL
DEFAULT_FROM_EMAIL = values.Value(
'{{cookiecutter.project_name}} <{{cookiecutter.project_name}}-noreply@{{cookiecutter.domain_name}}>')
'{{cookiecutter.project_name}} <noreply@{{cookiecutter.domain_name}}>')
EMAIL_HOST = values.Value('smtp.sendgrid.com')
EMAIL_HOST_PASSWORD = values.SecretValue(environ_prefix="", environ_name="SENDGRID_PASSWORD")
EMAIL_HOST_USER = values.SecretValue(environ_prefix="", environ_name="SENDGRID_USERNAME")