Try this:
In db.py:
from gluon.tools import Auth, Crud, Service, PluginManager, prettydate
auth = Auth(db)
crud, service, plugins = Crud(db), Service(), PluginManager()

auth.define_tables(username=True) # arg makes it so you can use a username 
instead of email to login



On Wednesday, October 17, 2012 6:20:48 PM UTC-5, mikech wrote:
>
> I'm working thru the book again, and when I get to the image tutorial it 
> mentions adding a manager group to the auth tables in appadmin: 
>
> "Using appadmin create a group "manager" and make some users members of 
> the group. They will not be able to access"  
>
> I cannot find where this is, when I bring up the appadmin it just shows 
> the two tables of the application - image and comment.
>

-- 



Reply via email to