Hello,I installed neo4django and followed the tutorialbut after I created the models I cannot create the models objects.What could be the reason?models.py# from django.db import modelsfrom neo4django.db import modelsclass Person(models.NodeModel):name = models.StringProperty()age = models.IntegerProperty()friends = models.Relationship('self',rel_type='friends_with')class OnlinePerson(Person):email = models.EmailProperty()homepage = models.URLProperty()class EmployedPerson(Person):job_title = models.StringProperty(indexed=True)settings.pyDATABASES = {'default': {'ENGINE': 'django.db.backends.sqlite3',# 'NAME': os.path.join(BASE_DIR, 'db', 'test_database.sqlite3')}}NEO4J_DATABASES = {'default' : {'HOST':'localhost','PORT':7474,'ENDPOINT':'/db/data'}}DATABASE_ROUTERS = ['neo4django.utils.Neo4djangoIntegrationRouter']-------------------ShellNimrod:neo elianamordekovich$ python neo/manage.py shellPython 2.7.2 (default, Jun 20 2012, 16:23:33)[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwinType "help", "copyright", "credits" or "license" for more information.(InteractiveConsole)>>> pete = Person.objects.create(name='Pete', age=30)Traceback (most recent call last):File "<console>", line 1, in <module>NameError: name 'Person' is not defined>>>Thanks in advance!Nimrod
What version of Neo4j are you using? Neo4django master supports 1.8.2 and 1.9, while the release on PyPi only supports up to 1.8.2. It looks like you're missing the GremlinPlugin, which was removed by default after Neo4j 1.9, and is currently a neo4django requirement.
--
You received this message because you are subscribed to a topic in the Google Groups "Neo4j" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/neo4j/CdNQshq0nFI/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
brew update brew install neo4j neo4j start
Could you run `curl -XGET 'http://localhost:7474/db/data/' while the database is running and share the result?
The virtualenv is just for Python packages- it shouldn't affect browsing the Neo4j interface. If you can curl the port, you *should* be able to visit it with a browser.
Anyone have any ideas?
java -versionYou received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.