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


  • 1
    marc-garcia-10770  10 years ago

    @jkumar There are code missing, you have to create also a view as "default/list_users" (Or whatever the function name that creates the table) and in the view you have to type this:

     

    {{extend 'layout.html'}}

    {{=table}}
     

    Regards

    replies (1)
    • web2pyslices 10 years ago

      Yes, that was a change in web2py.

      You can create the new view in 'default/list_users.html' or optionally you can just set the generic patterns to *

      response.generic_patterns = ['*'] in db.py

Commented on:

Sometimes you want to manage users and their membership at the same form.. this one of the possible solutions

Hosting graciously provided by:
Python Anywhere