Question

I was just trying neo4django's very own example, namely

from neo4django.db import models

class Person(models.NodeModel):
    name = models.StringProperty()
    age = models.IntegerProperty()

    friends = models.Relationship('self',rel_type='friends_with')

However, when running python manage.py syncdb I get the following error:

AttributeError: type object 'Model' has no attribute '__metaclass__'

Any ideas?

(I would use label "neo4django" here in Stackoverflow, but it does not let me create a new label yet).

Was it helpful?

Solution

See https://github.com/scholrly/neo4django/issues/143- we won't support Django 1.5+ until the next release!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top