Hello,

I am trying to use py2neo (http://py2neo.org/2.0/ext/ogm.html).
I am having trouble looking up a node.

Here is my code:

lookupname="Shekar"

Shekar=store.load_indexed('Person','Name','Shekar',Person)


This returns a list. I want the complete object so that I can use in a 
relationship


Like 


store.relate(Shekar, "LIKES", Mango)


When I try this, I get an error:


'list' object has no attribute '__dict__'


- Shekar

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4c5d69b7-3101-482a-8da0-83c75acd6c1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to