Re: [web2py] sqlform.grid and query conditions

2012-09-07 Thread Kevin Cackler
that auth.signature will prevent this? Kevin Cackler Tech Daddies 501-205-1512 http://www.techdaddies.com On 9/7/2012 2:39 PM, Massimo Di Pierro wrote: In some sense the grid does what you say. For example: @auth.requires_login() def index(): db.define_table('thing',Field('name'),auth.signature) grid

Re: [web2py] sqlform.grid and query conditions

2012-09-05 Thread Kevin Cackler
We did something similar but it feels very hackish, considering it has to be done in every method of the admin controller. I just wanted to see if there was a better way. Thank you. Kevin Cackler Tech Daddies 501-205-1512 http://www.techdaddies.com On 9/5/2012 7:45 PM, Bruno Rocha wrote

Re: [web2py] Re: Auth Decorator / Model Question.

2012-09-04 Thread Kevin Cackler
Great, thanks. I spent the first few days having web2py create our database tables from our models and now we're moving on to actual coding. I am LOVING this framework! Kevin Cackler Tech Daddies 501-205-1512 http://www.techdaddies.com On 9/4/2012 3:18 PM, Anthony wrote: In my limited

Re: [web2py] Re: Auth Decorator / Model Question.

2012-09-04 Thread Kevin Cackler
is - Should we just cache this query result or should we store it in a session? Which way is preferred for Python / web2py development? Kevin Cackler Tech Daddies 501-205-1512 http://www.techdaddies.com On 9/4/2012 3:22 PM, Niphlod wrote: you can certainly do STORE_DETAILS = db(db.stores.user_id