Re: [sqlalchemy] Re: insertion into association table, giving integrityerror

2017-04-10 Thread mike bayer
On 04/10/2017 03:46 AM, shrey.chau...@invicto.in wrote: A package object is getting created, and its inserting it into database, have to debug why is it inserting into db Somehow i got it working, added: db.session.rollback(), before append statement Dont know whether its the right approach

[sqlalchemy] Re: insertion into association table, giving integrityerror

2017-04-10 Thread shrey . chauhan
A package object is getting created, and its inserting it into database, have to debug why is it inserting into db Somehow i got it working, added: db.session.rollback(), before append statement Dont know whether its the right approach Thanks -- SQLAlchemy - The Python SQL Toolkit and