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": "djongoForeign",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "Django MongoDB driver connector",
"author": "doableware",
"author_email": "support@doableware.com",
"download_url": "",
"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.3.6",
"split_keywords": [
"django",
"mongodb",
"driver",
"connector"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "227ae45ce0b040f08605d45dc8a8e928",
"sha256": "2290e1f878e96ad9705651803d2dbf7f0617f98d209434bea569d1019d9a3b0a"
},
"downloads": -1,
"filename": "djongoForeign-1.3.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "227ae45ce0b040f08605d45dc8a8e928",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 51784,
"upload_time": "2022-12-24T02:52:18",
"upload_time_iso_8601": "2022-12-24T02:52:18.218742Z",
"url": "https://files.pythonhosted.org/packages/7c/82/45dfe70064698b0db72f44190f903be171c9acab8b83bf9ad25e45f5fc26/djongoForeign-1.3.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-24 02:52:18",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "djongoforeign"
}