I have a query that I intend to insert with a try-except block, so that I can ignore all the queries that fail a certain constraint i.e. IntegrityError.
IntegrityError