Hey,

I was getting a weird can't adapt error when saving a record.
Previous posts talked about charset conversions, unicode, etc...

The problem I had turned out to be trying to write an object reference
where I should have put the key value instead.

e.g.

rec["myfk"] = myObj

changed to:

rec["myfk"] = myObj.pk

and it fixed it.

Just posting incase anyone else encounters the same problem!

Regards,
Si

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to