Skip to content
Myr

quickstart docs: Use a real value for secret_key to better illustrate how a secret key should look.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Marian Sigler · committed by Armin Ronacher · parent 133920c · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/quickstart.rst+1 added-1 removed
652 unmodified lines
653 # remove the username from the session if its there654 session.pop('username', None)655656 # set the secret key. keep this really secret:657 app.secret_key = 'the secret key'657 app.secret_key = 'A0Zr98j/3yX R~XHH!jmN]LWX/,?RT'658659The here mentioned :func:`~flask.escape` does escaping for you if you are660not using the template engine (like in this example).661
41 unmodified lines