I hereby claim:
- I am nfn on github.
- I am neves (https://keybase.io/neves) on keybase.
- I have a public key whose fingerprint is C255 E09A 0971 4BCC CDFC 94E9 86E2 320C E5A0 BE9A
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
from bottle import request, response, PluginError | |
class FlashMsgPlugin(object): | |
"""Usage: | |
from bottle import Bottle, route, run, redirect, template | |
from bottle_flash2 import FlashMsgPlugin | |
app = Bottle() | |
COOKIE_SECRET = 'your_secret_key' | |
app.install(FlashMsgPlugin(secret=COOKIE_SECRET)) |