Use Mongodb as a backend database for your django project, without changing a
single django model! This version supports Django 5.
Usage
-----
1. Install djongo::
pip install djongo5
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": "djongo5",
"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/a4/d1/26e51341a4fa0be523fdc491edf1252f986742e18f7551a2090aff8e33ec/djongo5-1.3.9.tar.gz",
"platform": null,
"description": "\n\nUse Mongodb as a backend database for your django project, without changing a\nsingle django model! This version supports Django 5.\n\nUsage\n-----\n\n1. Install djongo::\n\n pip install djongo5\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 5 to use MongoDB as the database backend.",
"version": "1.3.9",
"project_urls": {
"Homepage": "https://www.djongomapper.com/"
},
"split_keywords": [
"django",
"mongodb",
"driver",
"connector"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1d42f3aaa938638cdf5c17a766950029bdb0a370580255a58cf2fb27fe487c66",
"md5": "521c62212adcca7d8f21723c533bb03f",
"sha256": "13f8a38723718ba7b5840905414d6df94ddfc0f0f0a72f61aaf005c19f3fdec4"
},
"downloads": -1,
"filename": "djongo5-1.3.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "521c62212adcca7d8f21723c533bb03f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 51182,
"upload_time": "2024-01-20T23:20:18",
"upload_time_iso_8601": "2024-01-20T23:20:18.572883Z",
"url": "https://files.pythonhosted.org/packages/1d/42/f3aaa938638cdf5c17a766950029bdb0a370580255a58cf2fb27fe487c66/djongo5-1.3.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a4d126e51341a4fa0be523fdc491edf1252f986742e18f7551a2090aff8e33ec",
"md5": "144b752afb75d2610c0171e405083493",
"sha256": "b593931d5b712d90ef7bb42b6b4cbdc404e3db37e665264cbe7e56121474e268"
},
"downloads": -1,
"filename": "djongo5-1.3.9.tar.gz",
"has_sig": false,
"md5_digest": "144b752afb75d2610c0171e405083493",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 46421,
"upload_time": "2024-01-20T23:20:20",
"upload_time_iso_8601": "2024-01-20T23:20:20.281398Z",
"url": "https://files.pythonhosted.org/packages/a4/d1/26e51341a4fa0be523fdc491edf1252f986742e18f7551a2090aff8e33ec/djongo5-1.3.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-20 23:20:20",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "djongo5"
}