I'm building an admin interface of my own, which mostly looks like the
web2py admin interface. Therefore, in my admin controller, I have
@auth.requires_membership('Admin')
def groups():
form=crud.update(db.auth_group,request.args(2),deletable=True)
groups=crud.select(db.auth_group)
return dict(form=form,groups=groups)
The groups-table id column, however, has the following link for id #1:
http://127.0.0.1:8000/myapp/default/groups/read/auth_group/1
Since my controller is called admin, why doesn't it read?
http://127.0.0.1:8000/myapp/admin/groups/read/auth_group/1
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.