The standard method to produce forms in TurboGears2 is ToscaWidgets. It allows the creation of html forms in declarative syntax including any restrictions and with validators.
Authentication and Authorization
Using SQLAlchemy