[web2py] Re: Dependency issue with gluino

2013-12-29 Thread Philipp Müller
Any news here? I'm having the same issue trying to use gluino with flask using pip as well as install from the git repository using python. Thanks in advance! Am Donnerstag, 13. Juni 2013 22:23:39 UTC+2 schrieb Massimo Di Pierro: Guino needs to be updated. Please hold on one more week. On

[web2py] Re: IOS, Json, Web2py.

2013-06-10 Thread Philipp Müller
So far, this seems to work fine. I struggle though when trying to write this data in my database. I tried doing: data = sj.loads(request.body.read()) #and later return dict(db.someDatabase.insert(data)) #or return dict(db.someDatabase.validate_and_insert(data)) for all of which I got the error

[web2py] Re: IOS, Json, Web2py.

2013-06-10 Thread Philipp Müller
:02:36 UTC+2 schrieb Massimo Di Pierro: return dict(db.someDatabase.insert(**data)) #or return dict(db.someDatabase.validate_and_insert(**data)) On Monday, 10 June 2013 15:58:16 UTC-5, Philipp Müller wrote: So far, this seems to work fine. I struggle though when trying to write this data

[web2py] Form for a db-table, that belongs to currently logged in user

2013-04-22 Thread Philipp Müller
Hello, I would like to create a form using form = SQLFORM(db.pet) where db.pet belongs to db.owner. This form is supposed to provide the owner (which is going to log in to the site) with the information about their (and only their) pets and let them edit this information. Any help on how

[web2py] Re: Form for a db-table, that belongs to currently logged in user

2013-04-22 Thread Philipp Müller
) return dict(grid=grid) On Monday, April 22, 2013 5:09:11 PM UTC+2, Philipp Müller wrote: Hello, I would like to create a form using form = SQLFORM(db.pet) where db.pet belongs to db.owner. This form is supposed to provide the owner (which is going to log in to the site

[web2py] Re: auth.user.id in restful api

2013-04-07 Thread Philipp Müller
(): @requires_login() def GET(*args, **kwargs): i'm doing something similar to that...but with a custom decorator rather than requires_login. cfh On Friday, April 5, 2013 2:58:17 PM UTC-7, Philipp Müller wrote: Hello, I have written a restful API in web2py using

[web2py] auth.user.id in restful api

2013-04-06 Thread Philipp Müller
Hello, I have written a restful API in web2py using @request_restful() and then specified the patterns and tables that I wanted to expose in the API. The whole API uses basic auth, which is fine. I'm used to retrieving the user, that currently uses a service by calling auth.user.id. If I wanted