On Sun, Jan 24, 2010 at 18:58, uramagget <[email protected]> wrote:
> Does to_dict/from_dict support creating a nested dictionary with the
> instance objects created by OneToMany, ManyToOne, etc. relationships?

It does.

> I attempted a object.to_dict() and it returned dict with all of the
> attributes except the ones that were created by relationships. I'm not
> exactly sure what the deep attribute is for and how to use it, since
> it seems vaguely referenced in the documentation either. Is that
> relevant?

It is.

See the examples/tests at:

http://elixir.ematia.de/trac/browser/elixir/tags/0.7.1/tests/test_dict.py

If you have any idea how to improve the documentation, please tell us.

Hope it helps,
-- 
Gaƫtan de Menten
http://openhex.org

-- 
You received this message because you are subscribed to the Google Groups 
"SQLElixir" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlelixir?hl=en.

Reply via email to