On Mar 21, 2011, at 8:41 PM, yutaka kawate wrote:
> There is no problem if run from dev_appserver.py.
> Some wrong in session file system.
> so the safe way is passing session,request as prameters.
> thank you
Yes. A module has its own namespace, so it doesn't have access to the caller's
globals.
There is no problem if run from dev_appserver.py.
Some wrong in session file system.
so the safe way is passing session,request as prameters.
thank you
woo, big earth quake again.
the code is
in db.py
mymodules = local_import('mymodules.who')
who = mymodules.Who(globals())
in modules.Who
class
try use self in login(...) method:
def login(self,)
request = self.environment['request']
session = self.environment['session']
Bye,
Floyd
thank you
but
i am very sorry, i did typing miss.
actually, i did so.
it looks that system try to pickle response variable.
i am trying environment['response'] = None
2011/3/22 Floyd
> try use self in login(...) method:
> def login(self,)
> request = self.environment['request']
>
4 matches
Mail list logo