← Back to team overview

maas-devel team mailing list archive

Re: ProgrammingError: can't adapt type 'dict'

 

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/)



Follow ups

References