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
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
Copy
% brew tap mongodb/brew
Copy
% brew install mongodb-community
#django