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://nesdis.github.io/djongo/>`_
* `Source code <https://github.com/morbitech1/djongo>`_
Raw data
{
"_id": null,
"home_page": "https://github.com/morbitech1/djongo",
"name": "us2djongo",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "Django MongoDB driver connector",
"author": "nesdis",
"author_email": "nesdis@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/7b/0a/7830dceb009078734d56d655934d4035b38ac824c38af97d1018a919525d/us2djongo-1.3.43.tar.gz",
"platform": null,
"description": "\r\n\r\nUse Mongodb as a backend database for your django project, without changing a\r\nsingle django model!\r\n\r\nUsage\r\n-----\r\n\r\n1. Install djongo::\r\n\r\n pip install djongo\r\n\r\n2. Into settings.py file of your project, add::\r\n\r\n DATABASES = {\r\n 'default': {\r\n 'ENGINE': 'djongo',\r\n 'NAME': 'your-db-name',\r\n }\r\n }\r\n\r\n3. Run (ONLY the first time to create collections in mongoDB)::\r\n\r\n manage.py makemigrations\r\n manage.py migrate\r\n\r\nYOUR ARE SET! HAVE FUN!\r\n\r\nRequirements\r\n------------\r\n\r\n1. Djongo requires python 3.6 or above.\r\n\r\n\r\nHow it works\r\n------------\r\n\r\nDjongo is a SQL to mongodb query transpiler. It translates a SQL query string\r\ninto a mongoDB query document. As a result, all Django features, models etc\r\nwork as is.\r\n\r\nDjango contrib modules::\r\n\r\n 'django.contrib.admin',\r\n 'django.contrib.auth',\r\n 'django.contrib.sessions',\r\n\r\nand others... fully supported.\r\n\r\nImportant links\r\n---------------\r\n\r\n* `Full Documentation <https://nesdis.github.io/djongo/>`_\r\n* `Source code <https://github.com/morbitech1/djongo>`_\r\n",
"bugtrack_url": null,
"license": "AGPL",
"summary": "Driver for allowing Django to use MongoDB as the database backend.",
"version": "1.3.43",
"project_urls": {
"Homepage": "https://github.com/morbitech1/djongo"
},
"split_keywords": [
"django",
"mongodb",
"driver",
"connector"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7b0a7830dceb009078734d56d655934d4035b38ac824c38af97d1018a919525d",
"md5": "98999c2189ed09b3f7300a4a94a5e6df",
"sha256": "0728ffbc811e8a358ce0f60811090888c7762d7a2a55af40735b46383a864117"
},
"downloads": -1,
"filename": "us2djongo-1.3.43.tar.gz",
"has_sig": false,
"md5_digest": "98999c2189ed09b3f7300a4a94a5e6df",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 355080,
"upload_time": "2023-06-07T11:39:43",
"upload_time_iso_8601": "2023-06-07T11:39:43.797010Z",
"url": "https://files.pythonhosted.org/packages/7b/0a/7830dceb009078734d56d655934d4035b38ac824c38af97d1018a919525d/us2djongo-1.3.43.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-07 11:39:43",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "morbitech1",
"github_project": "djongo",
"travis_ci": true,
"coveralls": false,
"github_actions": true,
"requirements": [],
"tox": true,
"lcname": "us2djongo"
}