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
9
votes
1 answer

Using abstract base class in django admin interface with neo4django

I'm trying to use a simple abstract base class in django's admin interface with neo4django. Example models.py from neo4django.db import models class Parent(models.NodeModel): name = models.StringProperty() class Meta: abstract =…
meatballs
  • 3,917
  • 1
  • 15
  • 19
9
votes
1 answer

Django and Neo4j without Neo4Django

I'm build a Django app with Neo4j (along with Postgres), I found this Django integration called neo4django, I was wondering if it's possible to use neo4restclient only, like, what would be the disadvantages of not using Neo4django? Does using…
user1115538
8
votes
4 answers

Create REST API with Neo4J and Django

I am trying to create a REST API with Neo4j and Django in the backend. The problem is that even when I have Django models using Neo4Django , I can't use frameworks like Tastypie or Piston that normally serialize models into JSON (or XML). Sorry if…
Anas
  • 437
  • 6
  • 19
5
votes
1 answer

Neo4django Relationship properties

So I've trying to model a small user-group relationship in Neo4j with Django. I am currently employing the Neo4django python package seen here. Now, I have nodes representing my users, and nodes representing my groups, and relationships that link…
Stephen Chen
  • 93
  • 1
  • 1
  • 6
4
votes
2 answers

Error when connecting to neo4j via neo4django

I have a Django (Version 1.4.0) web app which uses neo4django mapper to run queries on neo4j (Version 1.8.2). However, as soon as I do a query like OnlinePerson.objects.filter(name="Bijan") I get a Runtime error as ('The type node for class…
bijbij
  • 129
  • 1
  • 7
3
votes
2 answers

Authenticating via curl with Tasty Pie, using Session Authentication

So, it seems that I can perform this action just fine from the browser, but I can't seem to replicate it via CURL. Any pointers on how this is supposed to work are greatly, greatly appreciated. I perform this request to log in a user: curl -X POST…
Monica Lent
  • 261
  • 1
  • 11
3
votes
2 answers

error:AttributeError: 'super' object has no attribute 'db_type' when run "python manage.py syncdb" in django

I am working on a django project and I have two databases "mysql " and " neo4j" .I install neo4django package and change the setting.py like below: setting.py DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', …
mojibuntu
  • 307
  • 3
  • 16
3
votes
2 answers

"settings.DATABASES is improperly configured. [...]" when using neo4django.auth and neo4django.admin with only neo4j db

I am building an application in Django 1.4.5 with neo4django (github version). I am currently trying to enable the admin interface as instructed on https://neo4django.readthedocs.org/en/latest/admin.html With the following settings when i hit /admin…
nikolasd
  • 318
  • 2
  • 13
3
votes
1 answer

how to store a float value on a neo4django model

I am writing an app using django 1.4.5 and neo4django (github version). I have created a model e.g. class FloatValues(models.NodeModel): a_float_value = models.StringProperty() It looks like there is no a float property in neo4django, so I am…
nikolasd
  • 318
  • 2
  • 13
3
votes
1 answer

neo4django admin interface not working?

I followed the instructions in the neo4django:admin docs, also set up the neo4django:auth according to the instructions. However, after logging in I get "You don't have permission to edit anything." I want to edit the data defined in my lit app. My…
A Sz
  • 984
  • 7
  • 19
3
votes
1 answer

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

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 =…
A Sz
  • 984
  • 7
  • 19
2
votes
0 answers

neo4django with Neo4j 2.0

I'm just starting out using Neo4j and I'd like to use 2.0 (I have 2.0.1 community installed). I see that neo4django was only tested against neo4j 1.8.2-1.9.4, but have people gotten it working with 2.x? I installed the gremlin plugin but can't…
2
votes
1 answer

Using neo4django with graphenedb

I'm trying to get a django application with neo4django to talk to a neo4j database hosted on graphenedb . I have my local installation working perfectly, but there is no authentication required to connect to my local neo4j instance. To connect to…
meatballs
  • 3,917
  • 1
  • 15
  • 19
2
votes
0 answers

Tastypie Neo4django 'unicode' object has no attribute 'pk'

I use Tastypie with neo4django. I follow https://gist.github.com/mhluongo/5789513 and http://django-tastypie.readthedocs.org/en/latest/interacting.html. Now I stuck in overgiving the value for some relations (via the resource_uri?!) while the POST…
2
votes
1 answer

Can't set up neo4jDjango graph database: object has no attribute 'db_type'

I'm starting a project and I keep getting this error when executing the manage.py sql *ApplicationName* The trace back is as follows: File "manage.py", line 10, in execute_from_command_line(sys.argv) File…
Isidoro
  • 385
  • 5
  • 15
1
2 3 4