Just a guess here, but try wrapping the contents in a <pre> tag. Probably they newlines are not getting displayed by the browser, have you "viewed source" to see if they are there?
print '<pre>%s</pre>' % mymodel.directions Robert On Thu, Dec 3, 2009 at 2:52 PM, Charlie <[email protected]> wrote: > I am new to using Google App Engine and am having trouble with > textproperty(). How do I keep the formatting when someone submits > something? > > example: > Directions: > 1.Turn left > 2. Turn right > 3. Go straight > > Then I submit, and when I view it on the page, it turns out like this. > > Directions: > 1.Turn left 2. Turn right 3. Go straight. > > Thanks for help. > > -- > > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
