When I try to assign something to the session dictionary using the glass, I get the following error:
Traceback (most recent call last): rv = callback(*a, **ka) File "controllers.py", line 30, in login s['email'] = email TypeError: 'NoneType' object does not support item assignment 1.0.0.127.in-addr.arpa - - [12/Feb/2012 18:48:52] "POST /login HTTP/1.1" 500 746
Where
s = bottle.request.environ.get('beaker.session')
I follow the training course in the bottle questionnaire .
hllau source share