I'm getting this error.
File "C:\web2py\gluon\validators.py", line 330, in build_set
if self.dbset._db._dbname != 'gql':
AttributeError: 'Query' object has no attribute '_db'
On Nov 16, 4:29 pm, mdipierro <[email protected]> wrote:
> requires=IS_IN_DB(db(db.table.field.like
> ('%.dat')),'field_val','represented_by')
>
> will not work on GAE
>
> On Nov 15, 10:28 pm, rondevu <[email protected]> wrote:
>
> > I am trying to create a dropdown using SQLFORM.factory using
> > requires=IS_IN_DB(db,'field_val','represented_by') validator. I need
> > to create a dropdown containing selected rows only.
>
> > Is it possible to filter the resulting dropdown list that is returned
> > to i.e. the column record which only has the *.dat file extension?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---