Skip to content

Instantly share code, notes, and snippets.

@geoffalday
Created March 12, 2012 12:28
Show Gist options
  • Save geoffalday/2021517 to your computer and use it in GitHub Desktop.
Save geoffalday/2021517 to your computer and use it in GitHub Desktop.

Revisions

  1. Geoff Alday revised this gist Mar 12, 2012. No changes.
  2. Geoff Alday created this gist Mar 12, 2012.
    5 changes: 5 additions & 0 deletions secretkey.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    # How to generate a secret key with Python
    # via http://flask.pocoo.org/docs/quickstart/

    import os
    os.urandom(24)