You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: