My app is getting an error because of the \[code\]%s\[/code\] (at least, this is what I think), but I don't know why. I have changed to django code to try to get data to the html template. The template is loading but the data is not being imported. The app does run locally but template is not loading data and on server I get this error:\[code\]Traceback (most recent call last): File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.1/webapp2.py", line 1536, in __call__ rv = self.handle_exception(request, response, e) File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.1/webapp2.py", line 1530, in __call__ rv = self.router.dispatch(request, response) File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.1/webapp2.py", line 1278, in default_dispatcher return route.handler_adapter(request, response) File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.1/webapp2.py", line 1102, in __call__ return handler.dispatch() File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.1/webapp2.py", line 572, in dispatch return self.handle_exception(e, self.app.debug) File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.1/webapp2.py", line 570, in dispatch return method(*args, **kwargs) File "/base/data/home/apps/s~ceemee11111/1.363684484611202021/helloworld.py", line 37, in get for greeting in greetings: File "/base/python27_runtime/python27_lib/versions/1/google/appengine/ext/db/__init__.py", line 2314, in next return self.__model_class.from_entity(self.__iterator.next()) File "/base/python27_runtime/python27_lib/versions/1/google/appengine/ext/db/__init__.py", line 1442, in from_entity return cls(None, _from_entity=entity, **entity_values) File "/base/python27_runtime/python27_lib/versions/1/google/appengine/ext/db/__init__.py", line 974, in __init__ prop.__set__(self, value) File "/base/python27_runtime/python27_lib/versions/1/google/appengine/ext/db/__init__.py", line 614, in __set__ value = http://stackoverflow.com/questions/13753436/self.validate(value) File"/base/python27_runtime/python27_lib/versions/1/google/appengine/ext/db/__init__.py", line 2823, in validate raise BadValueError('Property %s is not multi-line' % self.name)BadValueError: Property content is not multi-line\[/code\]helloworld.py:\[code\]import cgiimport datetimeimport urllibimport webapp2import osfrom google.appengine.ext import dbfrom google.appengine.api import usersfrom google.appengine.ext.webapp import templateclass Greeting(db.Model): """Models an individual Guestbook entry with an author, content, and date.""" author = db.StringProperty() content = db.StringProperty(multiline=False) content2 = db.StringProperty(multiline=False) date = db.DateTimeProperty(auto_now_add=True)def guestbook_key(guestbook_name=None): """Constructs a Datastore key for a Guestbook entity with guestbook_name.""" return db.Key.from_path('Guestbook', guestbook_name or 'default_guestbook')class MainPage(webapp2.RequestHandler): def get(self): self.response.out.write('<html><body>') guestbook_name=self.request.get('guestbook_name') greetings = db.GqlQuery("SELECT * " "FROM Greeting " "WHERE ANCESTOR IS :1 " "ORDER BY date DESC LIMIT 10", guestbook_key(guestbook_name)) for greeting in greetings: if greeting.author: self.response.out.write( '<b>%s</b> wrote:' % greeting.author) else: self.response.out.write('An anonymous person wrote:') self.response.out.write(template.render('myhtml.html', {'guestbook_name': guestbook_name}))class Guestbook(webapp2.RequestHandler): def post(self): guestbook_name = self.request.get('guestbook_name') greeting = Greeting(parent=guestbook_key(guestbook_name)) if users.get_current_user(): greeting.author = users.get_current_user().nickname() greeting.content = self.request.get('content') greeting.put() self.redirect('/?' + urllib.urlencode({'guestbook_name': guestbook_name}))app = webapp2.WSGIApplication([('/', MainPage), ('/sign', Guestbook)], debug=True)\[/code\]myhtml.html:\[code\]<!DOCTYPE html> <html> <body> <form action="/sign?{{ guestbook_name }}" method="post"> <div id="dataImput"> <div><div><input type="text" name="content"</div> <div><div><input type="text" name="content2"</div> </div> <script> document.write("<h1>This is heading</h1>"); </script> <div><input type="submit" value="http://stackoverflow.com/questions/13753436/Sign Guestbook"></div> </form> <form>Guestbook name: <input value="http://stackoverflow.com/questions/13753436/{{ guestbook_name|escape }}" name="guestbook_name"> <input type="submit" value="http://stackoverflow.com/questions/13753436/switch"></form> <hr></body>\[/code\]