On 09 Aug 14:27, Daniel Axtens wrote:
> An OptionalModelChoiceField will attempt to query the database to get choices
> in its __init__ method. This fails if the database hasn't been initialised
> yet. So, put that in a try/catch block. This lets things work through the
> migration and loading of data from fixtures.
> 
> Reviewed-by: Andrew Donnellan <[email protected]>
> Signed-off-by: Daniel Axtens <[email protected]>

Thanks for taking the time to fix this.

Reviewed-by: Stephen Finucane <[email protected]>
_______________________________________________
Patchwork mailing list
[email protected]
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to