Hello,

In the application were are developing a user with the admin role has
to register the 'other users' that will have access to it.  We would
like to make a view that must have a form for registering users and a
list of the users that are currently registered (all in the same view)

For testing we did:

In the controlusers.py controller:

def index():

   form = auth.register()
   return dict(form=form)

In the view:

   {{if request.args(0)=='register':}}
         custom registration form
   {{pass}}

But this not work. When we try http://127.0.0.1/init/controlusers/ the
browser redirects to http://127.0.0.1/init/default/user/login

How could we make this kind of registration process??

Thanks in advance

Reply via email to