Exemplo n.º 1
0
 def totalPosts(self):
     return Posts.all().filter('status', 'Published').count()
Exemplo n.º 2
0
 def totalPosts(self):
     return Posts.all().filter("status", "Published").count()