django - Query on neo4j parent class doesnot return anything -
i have defined parent class of person
, , subclass of father
following:
class person(models.nodemodel): first_name = models.stringproperty() middle_name = models.stringproperty() last_name = models.stringproperty() class father (person) profession = models.stringproperty()
after creating number of father
s, can of them father.objects.all()
. however, running code person.objects.all()
nothing found (i.e. []
)!
as far know last query should return objects well! there solution?
are using neo4django?
if so, believe fixed in master on github. can install github using pip- pip install -e git+https://github.com/scholrly/neo4django/#egg=neo4django
. if still isn't working, consider raising issue , i'll see can do.
Comments
Post a Comment