Hi,
I wanted to use neo4django for a project recently. The model definition looks like
class Trend(models.NodeModel):
name = models.StringProperty()
class Tops(models.NodeModel):
name = models.StringProperty()
trends = models.Relationship(Trend,
rel_type='Goes_Well_With',
related_name='tops',
score = models.IntegerProperty()
)
I am getting this error on running manage.py sql command
TypeError: init() got an unexpected keyword argument 'score'
Is this the right way to define a relationship property or we have some other way?
Hi, I wanted to use neo4django for a project recently. The model definition looks like
class Trend(models.NodeModel): name = models.StringProperty()
class Tops(models.NodeModel): name = models.StringProperty() trends = models.Relationship(Trend, rel_type='Goes_Well_With', related_name='tops', score = models.IntegerProperty() ) I am getting this error on running manage.py sql command TypeError: init() got an unexpected keyword argument 'score'
Is this the right way to define a relationship property or we have some other way?
Thanks Rishi