alphagov/whitehall — pull request #841 by elliotcm (2013-09-11 15:14:04+00:00)
Title: 55973640 Avoid long running transactions on import

https://www.pivotaltracker.com/story/show/55973640

Paired on this with @heathd

This solution allows partial-imports, rejecting only invalid or duplicate rows. It also provides split CSVs for analysis (all, passed, failed).

It retains all existing functionality, including level of detail in error messages and ability to blat entire imports (either partial or otherwise).

It removes stacktraces from CSV exports, but retains them in the database.