Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- users = User.query(Post.name != "John")
- user_cursor = memcache.get('user_cursor')
- if user_cursor:
- users.with_cursor(start_cursor=user_cursor)
- self.render('templates/front.html', users = users)
- {% for row in users | batch(3) %}
- <div class="row">
- {% for u in row %}
- <p> {{u.firstname}}</p>
- {% endfor %}
- </div>
- {% endfor %}
Add Comment
Please, Sign In to add comment