Ali Asghari
Ali Asghari

Reputation: 112

How to use Arangodb in Django database?

I am starting developing a website, I want to use Django and Arangodb, but Django's built-in databases backend does not support arango. django documentation refers to this in database section:

You can use a database backend that doesn’t ship with Django by setting ENGINE to a fully-qualified path (i.e. mypackage.backends.whatever).

but I could not find anything that bridges between Django and Arango. there is this repo in GitHub https://github.com/pablotcarreira/django-arangodb but this does not support new features of Django and Arango. I would like any thread to lead me to solve this problem.

Upvotes: 3

Views: 2789

Answers (2)

14 14
14 14

Reputation: 31

You must first create an app for the database, for example dbms, and then implement all the required items such as crud in a .py file yourself and use the query class in the view you want and return it such as list ,dict or ... .

Note ! In the __init __ file, be sure to create an object from the created class

Upvotes: 0

Related Questions