[Maas-devel] ProgrammingError: can't adapt type 'dict'
Andres Rodriguez
andres.rodriguez at canonical.com
Tue May 6 18:33:44 UTC 2014
I think that was lack of importing __future__ stuff...
On May 6, 2014 1:30 PM, "Raphaël Badin" <raphael.badin at canonical.com> wrote:
> 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/)
>
>
> --
> Mailing list: https://launchpad.net/~maas-devel
> Post to : maas-devel at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~maas-devel
> More help : https://help.launchpad.net/ListHelp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20140506/c17b9034/attachment.html>
More information about the Maas-devel
mailing list