---
title: "Discussion on \"MongoDB with Django\" | Hashnode"
description: "Discussion on \"MongoDB with Django\". TLDR: Django doesn't support NoSQL databases like MongoDB, but this shows how it's possible.\n\n\nVirtual Environments in Python\nBefore installing Django, its good to understand venv, a virtual environment for Python. venv is a self-contained directory ..."
url: "https://hashnode.com/posts/mongodb-with-django/61e64eedbe5d7633af87ca4e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [MongoDB with Django](https://anthonyjdella.hashnode.dev/mongodb-with-django?utm_source=hashnode&utm_medium=feed)

TLDR: Django doesn't support NoSQL databases like MongoDB, but this shows how it's possible. Virtual Environments in Python Before installing Django, its good to understand venv, a virtual environment for Python. venv is a self-contained directory ...

Jan 18, 2022 · 5 min read · anthonyjdella.hashnode.dev  
Read the article

-   [#mongodb](https://hashnode.com/tag/mongodb)
-   [#databases](https://hashnode.com/tag/databases)
-   [#django](https://hashnode.com/tag/django)
-   [#python](https://hashnode.com/tag/python)
-   [#nosql](https://hashnode.com/tag/nosql)

## Written by

[offline](https://hashnode.com/@anthonyjdella)

@anthonyjdella

  
[View profile](https://hashnode.com/@anthonyjdella)

## Responses 1

Markdown supported · ⌘↵ to post

[Shakhzod Kudratov](https://hashnode.com/@shakhzodkudratov)

[Feb 3, 2022](https://hashnode.com/posts/mongodb-with-django/61e64eedbe5d7633af87ca4e/comment/61fb499f43e34d118169817e)

Every time you want to talk with db, you call get\_db\_handle(). Would it cause multiple database connections or it is handled internally within package? In most tutorials or pymongo usages I saw instance of it declared on file and imported. Not factory, but instance.
