Use Mongodb as a backend database for your django project, without changing a
single django model!
Usage
-----
1. Install djongo::
pip install djongo-lndata
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-lndata",
"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/a5/da/f7c8a5f292f1cb7f23dcce734710c051fcaf8017ad02fb84d5364cc29038/djongo-lndata-2.0.2.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-lndata\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": "2.0.2",
"split_keywords": [
"django",
"mongodb",
"driver",
"connector"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "9356461ee74d26c1dcb0740b1c172b6c",
"sha256": "d9ebb8fcefe26d4bb7854a39da8c6b56218b3af25cfd206a94c5ffea2eefb1fb"
},
"downloads": -1,
"filename": "djongo_lndata-2.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9356461ee74d26c1dcb0740b1c172b6c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 50815,
"upload_time": "2022-12-02T09:57:05",
"upload_time_iso_8601": "2022-12-02T09:57:05.116201Z",
"url": "https://files.pythonhosted.org/packages/76/6e/a8ebce6c684fd3c76d38bd531bcea282a878c4019887795104b21cbc072c/djongo_lndata-2.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "d4f46730136a2e9190d36d2da4f7dd46",
"sha256": "d6c727c629a188129d35fbaa42561fcab338c5f15948aa8586c840cff0daa6b5"
},
"downloads": -1,
"filename": "djongo-lndata-2.0.2.tar.gz",
"has_sig": false,
"md5_digest": "d4f46730136a2e9190d36d2da4f7dd46",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 45932,
"upload_time": "2022-12-02T09:57:06",
"upload_time_iso_8601": "2022-12-02T09:57:06.647145Z",
"url": "https://files.pythonhosted.org/packages/a5/da/f7c8a5f292f1cb7f23dcce734710c051fcaf8017ad02fb84d5364cc29038/djongo-lndata-2.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-02 09:57:06",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "djongo-lndata"
}