[sqlalchemy] Use relationship,can't do session.add (flask)

2014-07-18 Thread 'Frank Liou' via sqlalchemy
when i use relationship my add session will fail is it need do some else to map there's connection? plaese help me flask route code: @app.route('/company/business_account_number/address/company_status/company_captial_amount/business_description/company_name', methods=['POST']) def

Re: [sqlalchemy] Use relationship,can't do session.add (flask)

2014-07-18 Thread Simon King
On Fri, Jul 18, 2014 at 12:33 PM, 'Frank Liou' via sqlalchemy sqlalchemy@googlegroups.com wrote: when i use relationship my add session will fail is it need do some else to map there's connection? plaese help me flask route code: