Python Django Tutorial: Full-Featured Web App Part 5 - Database and Migrations

preview_player
Показать описание
In this Python Django Tutorial, we will be creating database tables for our application using Django models. We will also see how we can use the Django ORM to query the database and filter through results. Let's get started...

The code for this series can be found at:

Django Date Filters:

✅ Support My Channel Through Patreon:

✅ Become a Channel Member:

✅ One-Time Contribution Through PayPal:

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist

✅ Equipment I Use and Books I Recommend:

▶️ You Can Find Me On:

#Python #Django
Рекомендации по теме
Комментарии
Автор

Dude. If I ever make any money from web development I will throw some your way. You are the golden god of tutorials and I love you.

sleepychildkungfu
Автор

Thanks Corey, not everyone can afford education so thanks brother : )

joefanningartist
Автор

He made this video in 2018 in so depth not even today's youtuber makes these days

anand_dudi
Автор

sir this is the third series from you I'm learning. Actually I am regretting why I've not watched u earlier. THIS IS THE BEST OF THE BESTS CHANNELS on PYTHON. HUGE RESPECT TO YOU SIR... *from India import love*

ishanpandy
Автор

0:15 - object relational mapping - ORM
1:52 - create Post model
5:34 - ForeignKey
7:39 - make migrations after modify models.py
9:19 - have a look on SQL code that will be migrate
11:25 - why migration useful
12:05 - query database on shell
18:27 - __str__ method
24:41 - special query set of user model
28:11 - pass data from model into view
31:13 - template filter
34:52 - add Post model into admin page

congcuongnguyen
Автор

Everyone: "World is going through pandemic!!!"
Corey: "Let's clear the screen first"
:)
Love your tutorials and explanation man Keep it Up man

zeelsinojia
Автор

This is the first one that I actually have to comment on. I haven’t done that before on Youtube. You are the master of explaining everything with simple words. Your tutorials are just gorgeous and outstanding. I remembered when I started learning Python almost 2 years ago, your tutorials helped me a lot. Really. Its amazing. Since then, I think I have recommended your channels to at least 4 people. You deserved much more views than the current stats. Thank you so much and wish you the best for everything you do in the future. I will always support you.

quannmtt
Автор

I cant stop, this guy bloody hell, angels come in disguise, shout out from South Africa, your my superman chap

Lumkoz
Автор

You never need to say" this video is getting longer " just keep making them 🙋🙆🙌

sahilamin
Автор

These are hands down the BEST Django app tutorials I've seen. It's not just the poll app that we can easily make with the documentation, it's not just looking painstakingly through the documentation, and it's not some simple app! This is absolutely outstanding and so simply explained - I would not have been able to create this on my own without this guidance; Here's to creating a full-stack app on my own after this! ❤️

maureento
Автор

Corey, I was always told and taught that ORM stood for object relational model, I believe. To me that was the hardest thing to understand. Now you say it's object relational mapper, it makes sense. It's a mapper; that's all there is to it.

renejacques
Автор

Awesome, Corey! Seriously never seen a more clear and yet comprehensive tutorial on the internet. Thank you.

toastrecon
Автор

I am commenting here again to thank you for the amazing work you've done in sharing your extensive coding knowledge. Really impressed by how you make this all feel simple, it is a rare skill and requires total mastery of the subject matter of course... hats off.

raphaelpz
Автор

I have been waiting for so long for you to release your Django course. I have been watching your python videos for a long time, doing a great job man :)

pradhvanbisht
Автор

I`ve been using PHP for quite a long time, a friend told me about django and python, and since ive started searching for tutorials, your channel is the best so far, congrats my man, you are a amazing teacher, keep up the good work, thank you so much

FreeStepTAYLOR
Автор

These are the best django tuts I have come across ever since i chose this django path. Surely I must contribute. You so on point. like you reading what my mind ever wanted

igajohnbosco
Автор

This is the best Django/python tutorial I've ever seen when it comes to shell/database. For the first time I actually understand this part of it! Again, thank you so much for providing this.

perplexinginkslinger
Автор

Corey, the work you are doing for the python community is amazing. You are setting a new standard for tutorials. Keep doing what you are doing because you are one of the best if not the best at it ! . Good luck to you and cheers!

unchiusm
Автор

The way you explain everything you do in careful details is just outstanding! No other tutorial on youtube actually got me pretty "fluent" if I could say so in Django. This tutorial did the trick. Thanks and keep up the work :)

PolyRocketMatt
Автор

Man, your free course is honestly better than a paid one I've finished recently. Way better.

ogyrfiwargf