boubou_cs, Thank you. You are right, this problem is caused because
the rendered html files lack html header.
I just added
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Language" content="en-us"/>
</head>
to /templates/base.html. Now the problem is gone.

Greg, thank you. The todo-list code is from samples of webpy.org, I
did not make change that. See here:
http://webpy.org/src/todo-list/0.3

On Aug 6, 5:31 am, boubou_cs <[email protected]> wrote:
> Perhaps you should had web.header('Content-type','text/html') in the
> beginning of POST def from todo.py.

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en.

Reply via email to