Invalid syntax in this simple Python application.
- by Sergio Boombastic
Getting an invalid syntax when creating the template_value variable:
class MainPage(webapp.RequestHandler):
def get(self):
blogPosts_query = BlogPost.all().order('-postDate')
blogPosts = blogPosts_query.fetch(10)
if users.get_current_user():
url = users.create_logout_url(self.request.uri)
…