Hi
I don't see any session initializer , please try with that
session = web.session.Session(app,store,initializer={'login':
0,'privilege': 0,'username':'Guest','logged_in':False})
Regards
Rajesh
On Thu, Sep 28, 2017 at 3:35 PM, peter wrote:
> I am on chapter 10 of headfirst python second editi
On 28/09/17 23:35, peter wrote:
> I am on chapter 10 of headfirst python second edition. got most of the
> prior codes to work but am stuck on this one.
I don;t know the book and only vaguely know Flask, but I'd start by
adding some debug print statements to the functions.
Something like
def ..
peter wrote:
> I am on chapter 10 of headfirst python second edition. got most of the
> prior codes to work but am stuck on this one. I will add the
> simple_webapp.py which is a decorator enabled and checker.py which is
> the decorator. when I go into 127.0.0.1:5000 and enter I get the correct
>
I am on chapter 10 of headfirst python second edition. got most of the
prior codes to work but am stuck on this one. I will add the
simple_webapp.py which is a decorator enabled and checker.py which is
the decorator. when I go into 127.0.0.1:5000 and enter I get the correct
response. 127.0.0.1