Bottle: Python Web Framework

63 comments · 94% upvoted · source · other discussions

comments

bsergean

The one file is a nice feature. Now I wish there was session / auth ...

stesch [OP]

Missing sessions seems to be a thing in new frameworks. There is no session support in Tornado, too.

There's a FAQ for bottle, though: How to implement sessions?

There is no build in support for sessions because there is no right way to do it.

Well, there's no right way to implement a template system, but bottle has one. But the FAQ has an example of how to solve this with beaker.

vph

Not a good excuse. It'd be very nice to implement authentication using decorators.