Skip to content

Instantly share code, notes, and snippets.

View IsaacHatilima's full-sized avatar
💭
Determination.

Isaac Hatilima IsaacHatilima

💭
Determination.
View GitHub Profile
@tanmaypanda-14
tanmaypanda-14 / Django with mongodb in the backend
Created March 23, 2022 12:09
Proper django setup with mongodb atlas using djongo
Ever since Django dropped pytz support with its version 4.0, it has been a huge pain to setup mongodb as a backend.
So this a simple guide i decided to make in case someone else is going thru the same thing
- setup a mongodb account for atlas
- create a cluster and then create a user
- give network access ( set it to 0.0.0.0/0 )
- then browse collections and create a db with a collection