Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

{cookiecutter.secret_key}} should automatically inject random string #33

pydanny opened this Issue Aug 19, 2013 · 4 comments


None yet
3 participants

pydanny commented Aug 19, 2013

While the idea of pre-generate hooks (#29) is good, a great utility feature would be the to generate a 50 character random string and place it automatically in a {cookiecutter.secret_key}} context variable.

Wouldn't "string" make more sense than "hash"? There's nothing to hash (save an initial random value, which is not going to be improved by hashing)


pydanny commented Aug 21, 2013

When I said, "hash", I meant a 50 character randomized string. I'll change the title of the issue. 🎲

@raphigaziano raphigaziano referenced this issue Aug 24, 2013


Hooks #48


pydanny commented Aug 24, 2013

Implementation PR in #47


audreyr commented Sep 2, 2013

Closing this, since @pydanny says he will implement this as a Cookiecutter plugin after 1) 0.7.0 comes out, and 2) a "how to" for writing plugins is documented. Thank you @pydanny!

@audreyr audreyr closed this Sep 2, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment