class Article(db.Model):
    tags = db.ListProperty(Tag)

@staticmethod
def select_by_tag(tag):
    return Article.all().filter('tags', tag).run()
Choose between many-to-many techniques in App Engine DB