alphagov/govuk_content_models — pull request #51 by alext (2013-01-30 15:21:37+00:00)
Title: Fix state validation on TravelAdviceEdition

Now prevents editing non-draft editions. Allows 'save & publish'.

A side-effect of this is that it's no longer possible to directly create a published or archived edition, you have to create a draft first, then publish it etc. I've added some factories to make this process easier in tests.