Building a Website That Can Do Everything #3: MongoDB & Django Integration with Djongo

Опубликовано: 02 Октябрь 2023
на канале: Monkhaus
242
6

In this video we add a model which uses mongodb in the backend. We use the djongo package to get django to work with mongodb. In this video we are using wsl (ubuntu).

My Gaming Channel 🎮    / @mgc2267  

Join this channel ❤️
   / @monkhaus  

I'm pretty excited to bring this series hopefully it will have some traction.
The idea is simple. I'm building a website which can do 'everything'. Each video I will build a new feature which has been determined by you guys.

THE RULES:
1. Try to not suggest vague / large features.
2. If the most popular feature is small, I might also implement the next most popular feature as well so definitely leave your idea below.
3. Try to be creative. Your idea does not have to follow on from a previous idea and doesn't have to be logical either.
4. You can suggest a technology with which you want to implement the feature. If not I will do it with whatever I think is easiest. Of course this won't always apply.
5. Try to not comment features that have already been commented

00:00 intro
00:08 recap
00:22 Feature
00:36 Djongo
00:56 requirements
01:25 django settings
02:00 models
02:45 migrations
03:40 Django Shell
04:10 IT FAILED
04:20 Fix Error
04:55 Try migrations again
05:25 Updating requirements again
06:10 New Error
06:40 Fix Error
07:10 New Error Again!
07:30 Install MongoDB
09:15 Finally installed mongodb
09:30 Migration finally worked!
09:45 IT WORKS!!! + How to use it!