alphagov/stagecraft — pull request #29 by paulfurley (2014-02-11 17:20:31+00:00)
Title: Admin handler which makes exceptions pretty

When an exception is raised by the DataSet model's save() method, by
default this bubbles up to the user who gets an unfriendly HTTP 500.

This converts exceptions to admin UI warnings using the messages
framework.