You can filter on more then one property, only one filter can have an
inequality operator.
adminX = 'admin1'
blocX = 'bloc1'
que = CUser.all()
que.filter('id_admin = ', adminX)
que.filter('bloc = ', blocX)
result = que.fetch(50)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" 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/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---