Ok.

I inserted your code into db.py

Now I get an error
'Table' object has no attribute 'name'

it is in my controler default.py under funcition user()

if 'register' in request.args:
form = auth.register()
return dict(form=form)

Since my app spec changed I don need autocomplete. SO user just inserts
(types) the name of organization in filed on register form.

What do you suggest to be the easyiest way to user auth() form. I think if
using SQLFORM.factory sending mail, approvals etc. would be too complicated
to do

Thank you for your help

2014-11-13 11:20 GMT+01:00 Leonel Câmara <leonelcam...@gmail.com>:

> No, all the code in this demo goes into the welcome app (just ask admin to
> make you a new app), into db.py, before auth.define_tables. All the
> controllers are the default supplied by welcome.py
>
>
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/AxOk3zS8xUE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Lep pozdrav

Vid Ogris

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.

Reply via email to