Hi, thanks for this post. I was able to use it to save some dats into json but when I tried to load same data into the db, I got the error:
raise base.DeserializationError.WithData(e, d['model'], d.get('pk'), pk)
local variable 'pk' referenced before assignment
How do I go around this error? Thanks
Hi, thanks for this post. I was able to use it to save some dats into json but when I tried to load same data into the db, I got the error:
raise base.DeserializationError.WithData(e, d['model'], d.get('pk'), pk)
local variable 'pk' referenced before assignment
How do I go around this error? Thanks