=D I fix it
Now I'm using role no more description
tid = db.auth_group(role='Teacher').id
http://imageshack.us/f/28/screenshot1gvq.png/
But i dont know how select description any way or if the problem was
the read/write property of description
http://imageshack.us/f/51/screenshot2uy.png/
On Wed
This does not prove that you have a record auth_group with
description='Teacher'. Perhaps your record has description='Teacher
\n'?
Ok but if the record exist
http://imageshack.us/f/198/dbgroup.png/
only if i do this the problem is fixed
if i change for this
if request.args(1)=="teacher":
username_id =
db.auth_user(username=request.vars['username']).id
It is not finding the record db.auth_group(description="Teacher")
Not sure it is a dal problem,
On Sep 28, 2:50 pm, felixdm wrote:
> I have this problem in GAE
>
> Traceback (most recent call last):
> File "/base/data/home/apps/s~book-on/1.353593485285740911/gluon/
> restricted.py", line 194, i
4 matches
Mail list logo