Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Flask extension for Beaker session
Python
Branch: master
Failed to load latest commit information.
flaskext - add condition for test
.gitignore - add assertion to test
README.md
setup.py bump version
test_beaker.py - add assertion to test

README.md

Flask Beaker

Flask Beaker is Flask extension for Beaker Session.

How to use

```python
from flask import app, session
from flaskext.beaker import Beaker

# setup
app = Flask(__name__)
Beaker(app)

# in handler

@app.route("/set_value")
def set_value():
    session["key"] = "value"
    return "ok"

@app.route("/get_value")
def get_value():
    return session["key"]
```
Something went wrong with that request. Please try again.