My app has been ok with these code;

In controller:

def notes(): = False
    g = SQLFORM.grid(, searchable=True, csv=False, 
user_signature=True, )
    return dict(form = g)........code
question = db( ==,limitby=(2,0))
return dict(form=form, question=question)

In view:

{{for q in question:}}

when I changed the login credentials to membership requirement as follows:
def notes():

I got this error on trying to use the app:
<type 'exceptions.NameError'> name 'q' is not defined

what could be the issue? and how can i solve it?
I hope i have given all the details needed
Kind regards

- (Documentation)
- (Source code)
- (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 
For more options, visit

Reply via email to