Skip to content
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

Closed
pydanny opened this issue Aug 19, 2013 · 6 comments
Closed

Implement a proper secret key #3

pydanny opened this issue Aug 19, 2013 · 6 comments

Comments

@pydanny
Copy link
Member

pydanny commented Aug 19, 2013

Hopefully Cookiecutter will support this soon: cookiecutter/cookiecutter#33

@jefftriplett
Copy link

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?

@pydanny
Copy link
Member Author

pydanny commented Aug 26, 2013

Oops - pushed to wrong branch. @jefftriplett fixed it.

@audreyfeldroy
Copy link
Member

@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.

@DanEEStar
Copy link

Is there a way now to generate a SECRET_KEY automatically?

@pydanny
Copy link
Member Author

pydanny commented Aug 20, 2015

@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. 😭

@guialante
Copy link

I saw something in this gist: https://gist.github.com/mattseymour/9205591

browniebroke pushed a commit that referenced this issue Aug 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants