---
title: "Comment by Shakhzod Kudratov on \"MongoDB with Django\" | Hashnode"
description: "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"
url: "https://hashnode.com/posts/mongodb-with-django/61e64eedbe5d7633af87ca4e/comment/61fb499f43e34d118169817e"
---

[Discussion](https://hashnode.com/posts/mongodb-with-django/61e64eedbe5d7633af87ca4e)

Comment [MongoDB with Django](https://hashnode.com/posts/mongodb-with-django/61e64eedbe5d7633af87ca4e)

[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.
