>
> i use "try"
if do not return "Success"
it mean have not session.add
>
> @app.route('/company/<business_account_number>/<address>/<company_status>/<company_captial_amount>/<business_description>/<company_name>',
>
> methods=['POST'])
> def
> new_company_generation(business_account_number,address,company_status,company_captial_amount,business_description,company_name):
> try:
> company = Company()
>
> company.create_new_company(business_account_number,address,company_status,company_captial_amount,business_description,company_name)
> return "Success!"
> except Exception:
> return "Failed!"
>
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.