Monday, March 27, 2017

Re: Update dict JsonField Postgresql

On Monday 27 March 2017 05:56:34 Martin Peveri wrote:

 

> But not working.

>

> Any Idea?.

 

Plenty. But start by defining "not working". Not trying to be snarky, but there are a lot of moving parts here and it's anybody's guess at this point what part is causing the problem. We don't even know how you determined it's not working (get an exception, value isn't changed, save doesn't get called, form errors ... ).

 

Here's my shot in the dark:

Django's JSONEncoder only accepts dicts as outermost structure.

--

Melvyn Sopacua

No comments:

Post a Comment