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 google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to