On Sat, May 2, 2009 at 11:16 AM, Anand Chitipothu <[email protected]>wrote:

>
> web.ctx.env is available only when handling requests. Looks like you
> are using it when initializing the application.
>


yes, I think so.
I use it in settings.py, when I need it:

import settings
return settings.refer

so...

if this referer is null, can it be pass?

-- 
百才招聘(baicai.com).产品部
Email: [email protected]
Gtalk: [email protected]
twitter.com/qichangxing

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to