Pythons evaluation model prevents you from referencing things that have not
been defined yet.
In this case you are trying to reference Person before the class definition
of Person is done.
Just like in regular Django models this can be worked around by just
providing the name of the class as a stri
hey it my first try at using django + neo4j together. and i have already run
into a problem:
here is my model:
from neo4j.model import django_model as neoModel
class Person(neoModel.NodeModel):
name = neoModel.Property(indexed=True)
age = neoModel.Property()
related = neoModel.Relati
2 matches
Mail list logo