This my Answer to the stackoverflow question: A python web application framework for tight DB/GUI coupling?:
You should have a look at django and especially its newforms and admin modules. The newforms module provides a nice possibility to do server side validation with automated generation of error messages/pages for the user. Adding ajax validation is also possible
