Docs Menu
Docs Home
/
Django MongoDB Backend
/

Download and Install

Complete the following steps to install Django MongoDB Backend and its dependencies in your development environment.

1

Before installing Django MongoDB Backend, ensure you have Python 3.10 or later installed in your development environment.

2

Select the tab corresponding to your operating system and run the following commands to create and activate a virtual environment in which to install Django MongoDB Backend:

python -m venv venv
source venv/bin/activate
python -m venv venv
. venv\Scripts\activate

Tip

In the preceding commands, you might need to replace python with the command that points to your Python 3.10+ interpreter.

3

With the virtual environment activated, run the following command to install the Django integration:

pip install django-mongodb-backend

This command also installs the following dependencies:

  • PyMongo version 4.10 and its dependencies

  • Latest Django 5.0.x version and its dependencies

After you complete these steps, you have Django MongoDB Backend and its dependencies installed in your development environment.

Back

Get Started