Use Mongodb as a backend database for your django project, without changing a
single django model!
Usage
-----
1. Install djongo::
pip install djongo
2. Into settings.py file of your project, add::
DATABASES = {
'default': {
'ENGINE': 'djongo',
'NAME': 'your-db-name',
}
}
3. Run (ONLY the first time to create collections in mongoDB)::
manage.py makemigrations
manage.py migrate
YOUR ARE SET! HAVE FUN!
Requirements
------------
1. Djongo requires python 3.6 or above.
How it works
------------
Djongo is a SQL to mongodb query transpiler. It translates a SQL query string
into a mongoDB query document. As a result, all Django features, models etc
work as is.
Django contrib modules::
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.sessions',
and others... fully supported.
Important links
---------------
* `Full Documentation <https://www.djongomapper.com/>`_
* `Source code <https://github.com/doableware/djongo>`_
Raw data
{
"_id": null,
"home_page": "https://www.djongomapper.com/",
"name": "djongo-fixed",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "Django MongoDB driver connector",
"author": "doableware",
"author_email": "support@doableware.com",
"download_url": "https://files.pythonhosted.org/packages/e3/8a/86275a5ace92de164d5e659d3c31940acc064cfcba542e8ad9b379b3869b/djongo-fixed-1.4.0.tar.gz",
"platform": null,
"description": "\n\nUse Mongodb as a backend database for your django project, without changing a\nsingle django model!\n\nUsage\n-----\n\n1. Install djongo::\n\n pip install djongo\n\n2. Into settings.py file of your project, add::\n\n DATABASES = {\n 'default': {\n 'ENGINE': 'djongo',\n 'NAME': 'your-db-name',\n }\n }\n\n3. Run (ONLY the first time to create collections in mongoDB)::\n\n manage.py makemigrations\n manage.py migrate\n\nYOUR ARE SET! HAVE FUN!\n\nRequirements\n------------\n\n1. Djongo requires python 3.6 or above.\n\n\nHow it works\n------------\n\nDjongo is a SQL to mongodb query transpiler. It translates a SQL query string\ninto a mongoDB query document. As a result, all Django features, models etc\nwork as is.\n\nDjango contrib modules::\n\n 'django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.sessions',\n\nand others... fully supported.\n\nImportant links\n---------------\n\n* `Full Documentation <https://www.djongomapper.com/>`_\n* `Source code <https://github.com/doableware/djongo>`_\n",
"bugtrack_url": null,
"license": "AGPL",
"summary": "Driver for allowing Django to use MongoDB as the database backend.",
"version": "1.4.0",
"project_urls": {
"Homepage": "https://www.djongomapper.com/"
},
"split_keywords": [
"django",
"mongodb",
"driver",
"connector"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e38a86275a5ace92de164d5e659d3c31940acc064cfcba542e8ad9b379b3869b",
"md5": "f19ecf32acc402b73a406b7bb7969b05",
"sha256": "54dec278ff1e37063f895272f7165a27e4899f2964aeab18d05dc63ea9087993"
},
"downloads": -1,
"filename": "djongo-fixed-1.4.0.tar.gz",
"has_sig": false,
"md5_digest": "f19ecf32acc402b73a406b7bb7969b05",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 47379,
"upload_time": "2023-09-13T04:54:11",
"upload_time_iso_8601": "2023-09-13T04:54:11.455521Z",
"url": "https://files.pythonhosted.org/packages/e3/8a/86275a5ace92de164d5e659d3c31940acc064cfcba542e8ad9b379b3869b/djongo-fixed-1.4.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-13 04:54:11",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "djongo-fixed"
}