Right on Mr. Freeze. Works. Thx.

On Feb 7, 3:05 pm, "mr.freeze" <nat...@freezable.com> wrote:
> I think you need to set crud.settings.controller = 'admin'
>
> On Feb 7, 2:01 pm, weheh <richard_gor...@verizon.net> wrote:
>
> > 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 web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to