Added quotes for SECRET_KEY.
Added namespace for another variable.
Removed reassignment which made 'SECRET_KEY' empty.
Added the 'cookiecutter' namespace to more missed variables.