[PATCH] models: Resolve issues with Patch.state
damien.lespiau at intel.com
Wed Sep 23 01:41:09 AEST 2015
On Tue, Sep 22, 2015 at 04:25:15PM +0100, Finucane, Stephen wrote:
> > The initial migration introduced in '30bb271' was incomplete: running
> > 'makemigrations' on the current codebase will produce a migration which
> > could not be applied cleanly. The reason for this was the non-loading
> > of initial data for the 'State' model.
> > Fix this issue by only referencing the contents of the 'State' model
> > when we have to (on save of a 'Patch' object), thus allowing the user
> > suitable time to apply this initial data.
> > Signed-off-by: Stephen Finucane <stephen.finucane at intel.com>
> Damien: are you happy for me to get this merged? I'm calling dibs on
> this issue unless you've a good reason to go with the other solution?
Acked-by: Damien Lespiau <damien.lespiau at intel.com>
More information about the Patchwork