def load_upload(self,title, content, username, username_ck, tag1 = "", tag2 = "", tag3 = ""): users = UserDB.all().filter('username ='******'-rating', update = True) self.loadAllTagsDb(update = True) self.redirect('/done/%d'%post_username.key().id()) break # if not users: # content = "no usres returned from the query " + username_ck """instead of passing to the new_page redirect to the done page"""