Re: DataError on get_or_create with nullable fields

2015-12-03 Thread mccc
Well turns out it was actually the `master_id` foreign key that was being set to garbage, hence the DataError; everything besides me is working as intended. cheers On Wednesday, December 2, 2015 at 6:03:22 PM UTC+1, mccc wrote: > > (this is mostly copied/pasted from my comment on an eight-years-

DataError on get_or_create with nullable fields

2015-12-02 Thread mccc
(this is mostly copied/pasted from my comment on an eight-years-old issue here ) I cannot get the get_or_create operation to create non-existing object with nullable field, getting a `DataError: integer out of range` error. The query goes like so: `T