Here’s a simple guide to using MongoDB with Django. For this post, I’ll be using macOS. If you have a different OS use the install docs here

1. Install Homebrew

Open Terminal and run:

Copy

% /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Verify:

Copy

% brew --version
Homebrew 2.5.1

2. Install MongoDB

1. Tap MongoDB

Copy

% brew tap mongodb/brew

2. Install MongoDB with homebrew

Copy

% brew install mongodb-community

#django

Django x MongoDB
1.25 GEEK