If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!

  • 0
    yuvall  9 years ago
    Its working nicely, but I found that if I try to use it to extend the out of the box auth, I lose all the build in functionality. e.g if I want to add multiple address as lined table form = SQLFORM.factory(db.auth_user, db.address) It looks as if I must follow this example, I will have to rewrite myself all the registration logic such as password_line2, email verification, etc. Is it true? or is there a solution to achieve the above while still keeping the out of box auth functionality?

Commented on:

It often happens that you have two tables (for example 'client' and 'address') which are linked together by a reference and you want to create a single form that allows to insert info about one client and its default address. Here is how.

Hosting graciously provided by:
Python Anywhere