here is the link :
window.location.href =
'{{=URL('CS','close_inqueries',user_signature=True)}}' + '&' + data;
and here is the controler:
def close_inqueries():
print request.vars
print '-'*20
print session
and here is the result:
, 'user_groups': {3: '
here is the link :
window.location.href =
'{{=URL('CS','close_inqueries',user_signature=True)}}' + '&' + data;
and here is the controler:
def close_inqueries():
print request.vars
print '-'*20
print session
and here is the result:
, 'user_groups': {3:
There is something new and potentially very important for web2py.
Example:
@auth.requires_login()
def index():
link = A('click me',_href=URL('callback',user_signature=True))
return dict(link=link)
@auth.requires_signature() # NEW!!
def callback():
return dict(hello='hello world')
This is like the channel API in the app engine.
Hope that rocket can support long pool in the future.
On 22 May 2011 08:47, Massimo Di Pierro wrote:
> There is something new and potentially very important for web2py.
> Example:
>
> @auth.requires_login()
> def index():
> link = A('click me',_
That's a nice feature and very easy to use!
I do some crazy applications at my work that could use this.
BR,
Jason Brower
On 05/22/2011 06:41 AM, BearXu wrote:
This is like the channel API in the app engine.
Hope that rocket can support long pool in the future.
On 22 May 2011 08:47, Massimo Di
Hello i have an app that creates some graph about some data
How can i share a link to a view of that graph and send it to a person that
is not a user of my app and allow it to access the link for limited period
of time?
Thank you
António
--
Resources:
- http://web2py.com
- http://web2py.com
6 matches
Mail list logo