-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement a proper secret key #3
Comments
Is that what causes then "jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'secret_key'" error? If so, just ran into it. If so, is there a workaround? |
Oops - pushed to wrong branch. @jefftriplett fixed it. |
@pydanny we should collaborate on implementing this as the first Cookiecutter plugin. You know where to find me :) Maybe after the 0.7.0 release, though. |
Is there a way now to generate a SECRET_KEY automatically? |
@DanEEStar Not yet. However, I saw a great technique not too long ago relying on a command-line trick to do it. I just can't find it anymore. 😭 |
I saw something in this gist: https://gist.github.com/mattseymour/9205591 |
Hopefully Cookiecutter will support this soon: cookiecutter/cookiecutter#33
The text was updated successfully, but these errors were encountered: