3

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).

Matt Luongo
  • 14,371
  • 6
  • 53
  • 64
A Sz
  • 984
  • 7
  • 19

1 Answers1

2

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

Matt Luongo
  • 14,371
  • 6
  • 53
  • 64