Questions tagged [neo4django]

Neo4django is a Django ORM integration of the Neo4j graph database

neo4django is an Object Graph Mapper that let’s you use familiar Django model definitions and queries against the Neo4j graph database.

Links

55 questions
1
vote
2 answers

Node properties not created when using neo4django

I have a Model in django created with neo4django. class Person(models.NodeModel): """ Persons of a Company """ email = models.EmailProperty(required=True, unique=True, indexed=True, name=_(u'email'), …
nikolasd
  • 318
  • 2
  • 13
1
vote
1 answer

Using neo4django with apache

I am trying to use a neo4j database on a django website hosted on a Apache server. I am using neo4django. I have followed the instruction given in http://neo4django.readthedocs.org/en/v0.1.8/index.html. when creating a node, I get the following…
Jeet Kumar
  • 195
  • 3
  • 16
1
vote
1 answer

Can't connect to neo4j database on port 80

I managed to get neo4j up and running on port 80 on another machine.. I am trying to use django and neo4django to connect to the database. I am getting the error : No such database exists: %s This happens when I try to do a .objects.get() on any…
khj
  • 21
  • 2
1
vote
1 answer

`objects.get(...)` does not work as expected

I'm trying to get an object from my neo4j database using neo4django >>> # There is a single Person object in the database, so I get a value >>> slug=Person.objects.get().name_slug >>> print(slug) doe-john >>> # ok, it's there >>>…
A Sz
  • 984
  • 7
  • 19
1
vote
2 answers

Why does the cleandb extension refuse to delete my neo4j graph database?

When trying to purge neo4j (1.8.2) with the cleandb extension (for neo4j 1.8), it fails: [path] ? curl -v -X DELETE 'http://localhost:7475/db/cleandb/12sE$lkj3%' * About to connect() to localhost port 7475 (#0) * Trying 127.0.0.1... * Connected to…
A Sz
  • 984
  • 7
  • 19
1
vote
1 answer

Neo4Django - SyncDB does not create table and graph

I am using Neo4Django in my django based application and trying to use two databases at the sametime : Neo4j and PostGIS. So I configured settings.py as suggested in the docs (http://neo4django.readthedocs.org) and models.py as well. When I try to…
Anas
  • 437
  • 6
  • 19
1
vote
1 answer

copying / cloing neo4django model object

I was wondering whether there was a smart way to create an exact clone of a node in neo4django without having to copy every property and relationship manually. p = Person.create(name="John Doe") p.connect(...) new_p = p won't work, as new_p won't…
A Sz
  • 984
  • 7
  • 19
1
vote
1 answer

In neo4django, is there any way to update node?

I'm now trying to build my first Neo4j app with Django + neo4django. i feel the library is cool, but has several serious problems for now. (i understand, they are in still developing-version now.) Is there a way to update an exists node (or modify…
1
vote
1 answer

How to install neo4django in virtual environment

I receive the error below when trying to install neo4django in my virtual environment. Not sure what the problem is. The server is running on my machine and py2neo works with the restful api, but not neo4django. I'm running ubuntu 12.0.4 with the…
Alan Illing
  • 1,376
  • 2
  • 14
  • 18
0
votes
0 answers

Not finding proper connections for Django to connect to Neo4j

I am trying to sync Neo4j database with Django, but I am getting the following error: I am following scholarly GIT page for Neo4django. How can I accomplish this task?
0
votes
1 answer

Is there any way to use neo4django with django 2.0.1?

I have installed django 2.0.1, but when I install neo4django, it deinstalls that version and installs django 1.5.12. is there any way to prevent so?
HuLu ViCa
  • 5,077
  • 10
  • 43
  • 93
0
votes
1 answer

neo4django issues: ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined

I was trying to run the statement: from neo4django.db import models which resulted in the following error: Traceback (most recent call last): File "", line 1, in from neo4django.db import models File…
0
votes
1 answer

Neo4Django create node not working in manage.py shell

I have neo4j-2.1.3 installed and server running on my Linux system . I created model "publisher" in my app . And then in manage.py shell , whenever I save a node with from BooksGraph.models import Publisher …
smartsn123
  • 115
  • 9
0
votes
1 answer

Neo4Django - KeyError: 'GremlinPlugin' error while creating an object

I'm trying to learn to work with Neo4jdatabase in my django projects. I installed Neo4Django from github repository. and following its neo4j tutorial when I try to create a new object from my model I encounter with this error: KeyError:…
Hadi
  • 5,328
  • 11
  • 46
  • 67
0
votes
1 answer

Neo4Django - Cannot create node - StatusException thrown

Couldn't able to solve it, or couldn't find anything related to this in any mailing list. Model: class Person(neomodels.NodeModel): name = neomodels.StringProperty("Name") user_id = neomodels.StringProperty("UserID") registered_at =…
0xmtn
  • 2,625
  • 5
  • 27
  • 53