Hi,

My problem is that the auth tables do not appear in appadmin, though the 
system allows me to register users, and it seems to remember them.



I am following the example in the book (chapter 3, overview: 
http://www.web2py.com/books/default/chapter/29/03/overview)

I have left the model db.py:

from gluon.tools import Auth, Service, PluginManager

auth = Auth(db)
service = Service()
plugins = PluginManager()

## create all tables needed by auth if not custom tables
auth.define_tables(username=False, signature=False)


In front of some functions, the controller, default.py has:

@auth.requires_login()


And this seems to work, asking someone not logged in to log in.

Any ideas please? At the moment if I try and reference any of these auth tables 
the system throws up errors.


Many thanks

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to