Thanks. But now the logout, login and register links no longer work.
 
Traceback (most recent call last):
  File "gluon/restricted.py", line 181, in restricted
  File 
"C:/Users/Coco/Downloads/web2py_win/web2py/applications/myproject/controllers/default.py"</admin/default/edit/myproject/controllers/default.py>,
 
line 55, in <module>
  File "gluon/globals.py", line 133, in <lambda>
  File 
"C:/Users/Coco/Downloads/web2py_win/web2py/applications/myproject/controllers/default.py"</admin/default/edit/myproject/controllers/default.py>,
 
line 34, in user
NameError: global name 'form' is not defined
 
The problem is that the variable form is not defined in default.py. What if 
I replace "form" by "auth()" ?
 
Dwayne
 

Reply via email to