scholrly/neo4django — Issue #28: Can't query by node id
Author: mhluongo
Created: 2011-11-13 02:07:24+00:00
State: open

class C(models.NodeModel):
pass
>>> c = C.objects.create()
>>> c.id
1
>>> list(C.objects.filter(id=1))
[]
>>> list(C.objects.filter(id__exact=1))
[]
>>> C.objects.get(id=1)
...
TypeError: 'IdLookup' object is not callable