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 attribute 'auth_user'


On Tue, Jun 25, 2013 at 11:14 AM, Anthony <abasta...@gmail.com> wrote:

> 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 and create a new app via the admin, should that be my only app then?
>>
>
> No, create as many apps as you like. However, each app is separate (a
> web2py app is more like a Django project).
>
>
>>  So I did implement the CAS stuff but now I get an error saying 'DAL'
>> object has no attribute 'auth_user' for the app I have.
>>
>
> Sounds like you didn't call auth.define_tables() in the second app.
>
> Anthony
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to