Re: [web2py] Re: Confused about app

2013-06-25 Thread Tom Russell
Ah, I forgot to add the following line to my consumer app: auth = Auth(db,cas_provider = ' http://127.0.0.1:8000/welcome/default/user/cas') On Tue, Jun 25, 2013 at 10:12 AM, Tom Russell wrote: > Well agreed, but I set that up in the welcome app so it would seem like > that should move over to

Re: [web2py] Re: Confused about app

2013-06-25 Thread Anthony
On Tuesday, June 25, 2013 11:04:22 AM UTC-4, Tom Russell wrote: > Yes I customized welcome and then added a new app via the admin interface. > I did not directly copy the welcome app, just modified the html etc. > > Now I am really confused about how this all works. So when I fire up > web2py an

Re: [web2py] Re: Confused about app

2013-06-25 Thread Tom Russell
But I do like this: ## create all tables needed by auth if not custom tables auth.define_tables(username=True, signature=True) I was using auth.signature for each table but that gave me an error after setting the CAS stuff. Once commented out it works fine. I was getting a 'DAL' object has no att

Re: [web2py] Re: Confused about app

2013-06-25 Thread Tom Russell
Yes I customized welcome and then added a new app via the admin interface. I did not directly copy the welcome app, just modified the html etc. Now I am really confused about how this all works. So when I fire up web2py and create a new app via the admin, should that be my only app then? So I did

Re: [web2py] Re: Confused about app

2013-06-25 Thread Anthony
On Tuesday, June 25, 2013 10:12:32 AM UTC-4, Tom Russell wrote: > Well agreed, but I set that up in the welcome app so it would seem like > that should move over to my other app as well? > Are you saying you customized the welcome app and then used admin to create a new app? In that case, note

Re: [web2py] Re: Confused about app

2013-06-25 Thread Tom Russell
Well agreed, but I set that up in the welcome app so it would seem like that should move over to my other app as well? On Tue, Jun 25, 2013 at 2:24 AM, Niphlod wrote: > every app has its own auth system. If you want multiple apps to share the > same "auth system", look at > > http://web2py.com/