[Maas-devel] ProgrammingError: can't adapt type 'dict'

Raphaël Badin raphael.badin at canonical.com
Tue May 6 18:30:04 UTC 2014


On 05/06/2014 12:29 PM, Raphaël Badin wrote:
> On 05/05/2014 11:12 PM, Julian Edwards wrote:
>> ProgrammingError: can't adapt type 'dict'
>
> Can you provide the complete steps/context to recreate his?  The error
> indicates Django tried to save a dict into a field that doesn't support it.

I manage to recreate it simply by running:
 >>> # fetch a node in `node`.
 >>> node.routers = {}
 >>> node.save()
[...]
ProgrammingError: can't adapt type 'dict'

(http://paste.ubuntu.com/7406066/)





More information about the Maas-devel mailing list