Thanks.
http://code.google.com/p/web2py/issues/detail?id=196
On Feb 18, 12:32 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
This is a bug, please open an issue on google code and I will try fix
it during the week-end.
On Feb 17, 5:10 pm, firedragon852 firedragon...@gmail.com wrote
I am using oauth20_account and oauth10a_account as well as the regular
form login authentication.
I want to be able to execute a method after the user logs in. For the
regular form login authentication, return
dict(form=auth.login(onaccept=execute_me_after_login)) executes
Hi, I have the following code:
def login():
...
if request.args(0) == 'facebook':
from gluon.contrib.login_methods.oauth20_account import
OAuthAccount
auth.settings.login_form = FacebookAccount(globals())
return dict(form=auth.login())
When I go to the url
I tried both the following methods:
URL: .../login/facebook
if request.args(0) == 'facebook':
from gluon.contrib.login_methods.oauth20_account import
OAuthAccount
auth.settings.login_form = FacebookAccount(globals())
can get redirected to facebook login page, but when it comes
())
On Oct 12, 7:47 am, firedragon852 firedragon...@gmail.com wrote:
If I remove:
if request.args(0) == 'facebook':
from the controller method, I can get authenticated by facebook and
get redirected to the auth.settings.login_next URL.
It seems that this is an all-or-nothing login mechanism
I have the following query:
records = crud.select(db.myobj, db.myobj.owner == auth.user.id,
fields=['myobj.owner', 'myobj.createdAt', 'myobj.name', 'myobj.type',
'myobj.id', 'myobj.image'], headers={'myobj.owner':T('Person'),
'myobj.createdAt':T('Date'), 'myobj.name':T('Name'),
On GAE, this doesn't work:
rows = db((db.geoip.begin_num = value) (db.geoip.end_num =
value)).select()
BadFilterError: BadFilterError: invalid filter: Only one property per
query may have inequality filters (=, =, , )..
So I broke the query into two queries:
ids = db(db.geoip.begin_num =
If I do this:
db.friendship.to_user.represent = lambda id: db.auth_user[id].nickname
friends = crud.select(db.friendship, db.friendship.from_user ==
auth.user.id,
fields=['id', 'to_user'],
headers={'id':T('ID'),
'to_user':T('Friend')})
it helps,
Mart :)
On Aug 15, 9:58 am, DenesL denes1...@yahoo.ca wrote:
Hi firedragon852,
On Aug 14, 9:02 pm, firedragon852 firedragon...@gmail.com wrote:
I am doing development under windows so I am running the binary
version of web2py for windows.
It seems that whenever
I am doing development under windows so I am running the binary
version of web2py for windows.
It seems that whenever I change my code I need to clean/compile via
the admin interface for the changes to be effective.
Is there a way to turn this off? During development I want to be able
to make
10 matches
Mail list logo