Re: [web2py] Re: Cookbook recipe for nginx/uwsgi woes

2012-04-29 Thread Bill Barry
I am running web2py on Debian with nginx and the uwsgi-plugin-python package. My configuration is similar to yours, but uses mount instead of app python 127.0.0.1:9001 /=/home/www-data/web2py/wsgihandler.py Bill On Friday, April 27, 2012 1:16:07 AM UTC-7, rif wrote: > > I had the sa

Re: [web2py] How would I do something like this?

2012-04-30 Thread Bill Barry
On Mon, Apr 30, 2012 at 8:18 PM, Bruce Wade wrote: > @auth.requires_membership('Analytics' or 'Analytics Manager') > def index(): >     return dict(message="hello from analytics.py") I am a bit new to this, but my understanding is that this is what you want. @auth.requires(auth.has_membership('A

Re: [web2py] How would I do something like this?

2012-04-30 Thread Bill Barry
On Mon, Apr 30, 2012 at 9:36 PM, Bill Barry wrote: > On Mon, Apr 30, 2012 at 8:18 PM, Bruce Wade wrote: >> @auth.requires_membership('Analytics' or 'Analytics Manager') >> def index(): >>     return dict(message="hello from analytics.py") >