TG2 crashed with this code... I am running TurboGears2-1.9.7a4. Any  
idea, Am I doing something wrong ?

     @expose()
     @validate(user_form, error_handler=index)
     def create(self, **kw):
         user = User(user.user_name=kw['user_name'],
                display_name=kw['display_name'],
                email_address=kw['email_address'],
                password=kw['password'])
         DBSession.save(user)
         DBSession.commit()
         raise redirect('/')

Thanks
-fred-

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to