Python Django App & Templates tutorial

  Рет қаралды 12,144

Dave Gray

Dave Gray

Күн бұрын

Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
In this Python Django app & templates tutorial, you will learn how one Django project may have many modular apps inside. You will also learn about Django templates and how they can be extended for other web pages.
💖 Support me on Patreon ➜ / davegray
⭐ Become a full-stack dev with Zero To Mastery Courses:
- The Complete Python Developer: bit.ly/CompPythonDev
- Complete Machine Learning & Data Science: bit.ly/CompMachineLearning
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
🚩 Subscribe ➜ bit.ly/3nGHmNn
📬 Course Updates ➜ courses.davegray.codes/
🚀 Discord ➜ / discord
☕ Buy Me A Coffee ➜ www.buymeacoffee.com/davegray
👇 Follow Me On Social Media:
GitHub: github.com/gitdagray
X: / yesdavidgray
LinkedIn: / davidagray
Blog: www.davegray.codes/
🔗 All Resources for this Django Course: github.com/gitdagray/django-c...
🔗 KZbin Playlist for this Django Tutorial Series: • Python Django Tutorial...
Python Django App & Templates tutorial
(00:00) Intro
(00:05) Welcome
(00:26) Starter Code
(00:37) Start Your Virtual Environment
(01:20) Useful VS Code Extensions
(02:29) What are Django Apps?
(03:17) Create a Django App
(04:06) App views Pt. 1
(04:47) Add Your App to the Project
(05:27) App Template Pt. 1
(06:27) Emmet File Associations
(07:31) App Template Pt. 2
(07:50) App urls
(09:36) App views Pt. 2
(10:03) Linking App urls to the Project
(11:34) Running the server
(13:10) Adding CSS
(13:47) Creating a Base Layout Template
(18:11) Extending the Layout Template
(21:06) Viewing the Pages
📚 Tutorial References:
🔗 Django Official Site: www.djangoproject.com/
🔗 Python Official Site: www.python.org/
🔗Visual Studio Code Official Site: code.visualstudio.com/
👀 Visual Studio Code: code.visualstudio.com/
Was this Python Django App & Templates tutorial for beginners helpful? If so, please share. Let me know your thoughts in the comments.
#python #django #app

Пікірлер: 46
@SaurabhSharma-gx1bp
@SaurabhSharma-gx1bp 5 ай бұрын
You are the best, Dave. Your tutorials helped me land my first job.
@DaveGrayTeachesCode
@DaveGrayTeachesCode 5 ай бұрын
So glad to hear that! 🎉🎉 That's the best kind of feedback I can get. Keep going! 🚀
@eboyd53
@eboyd53 4 ай бұрын
One of the things that makes me most happy is to see that you're using a version of the project I started years ago named MSYS in coordination with the original MinGW project. Open Source is awesome!
@gerryhoekema2561
@gerryhoekema2561 5 ай бұрын
Thanks for this one, too Dave. Keep 'em coming!
@aghil_shoja
@aghil_shoja 5 ай бұрын
Thanks to you Dave, I love your tutorials. we owe you a lot 🌻
@kingb772
@kingb772 5 ай бұрын
Your tutorials are always great!
@aliben123
@aliben123 5 ай бұрын
Thank you Dave for providing this amazing content for free. you are a truly skilled teacher. god bless you.
@aftabahmad4773
@aftabahmad4773 5 ай бұрын
Every time I go through these I really pray for you. Thanks once again
@anjaneyulub2529
@anjaneyulub2529 5 ай бұрын
Thanks dave ❤ for starting this django series
@TheAliAhad
@TheAliAhad 5 ай бұрын
Thanks Dave! Make this Django course as long as possible, I meant in depth video. Making a CRUD application would be very nice.
@lyndistech
@lyndistech 2 ай бұрын
Hi Dave. Thank you so much for this!
@aminkt1742
@aminkt1742 3 ай бұрын
your explanation is so good man, luv u❤❤
@mrhhgaming3950
@mrhhgaming3950 26 күн бұрын
It really helped me, probably the best tutorial on KZbin
@DaveGrayTeachesCode
@DaveGrayTeachesCode 24 күн бұрын
Thank you!
@_Sparrowsky
@_Sparrowsky 2 ай бұрын
Everything works. Thx bro
@chloesong1792
@chloesong1792 3 ай бұрын
Thank you Dave! You use 23 minutes or so to explain it much more clearly than Chinese 2h teaching videos here for the same content😂 You are the best awesome teacher in my heart now!!!❤ Followed. ❤ Will watch all of the rest tutorials one by one!
@CoryFleischman
@CoryFleischman 5 ай бұрын
You just about lost me with these posts and post lists and nested folders, but I'm trying to keep up. With a background as a self-taught python dev, I want so badly to make the leap to web development to showcase some of my python code. Thanks for the lessons. Looking forward to the next one.
@remomagalhaes4707
@remomagalhaes4707 2 ай бұрын
Hello from Brazil. Thanks for your videos
@FeyCode.
@FeyCode. 5 ай бұрын
Thank you Teacher 😊
@dandelion0331
@dandelion0331 5 ай бұрын
Hi Dave, thanks for your constant output. I learned django a couple of years ago and made a couple of personal projects but it seems like the job market doesn't have many demand on this framework. I guess probably because of its slow speed and it is not SPA. I personally like the framework, especially for new learners in web dev. please do cover django rest framework too in the future. i know a little about the django rest but I would like to learn more about relation between models and serializers (especially how to serialize referenced foreigh key frield) and how to choose views vs viewsets. btw if you can cover MySql integration and some details about diff ways of authentication in this current series that would be great. sorry asking too much I guess..
@ahmadshabaz2724
@ahmadshabaz2724 5 ай бұрын
You are legend brother. Please make tutorials for how applaud website on cloud .
@n4mlss
@n4mlss 5 ай бұрын
Awesome!!
@tanmay6207
@tanmay6207 5 ай бұрын
Thank you!
@MiDiCur
@MiDiCur Ай бұрын
Tanks for making this available. For some reason I can not find why my layout does not put the nav bar at the top
@MatheusCampos-lw9pt
@MatheusCampos-lw9pt 2 ай бұрын
tnx
@saeedkhazalvand4821
@saeedkhazalvand4821 5 ай бұрын
MUCH ❤❤❤❤
@itwing9312
@itwing9312 5 ай бұрын
still waiting for next video .... sir your teaching is next level
@DaveGrayTeachesCode
@DaveGrayTeachesCode 5 ай бұрын
Thank you. This video was released today. There will be another next week.
@maestrogoldring1094
@maestrogoldring1094 5 ай бұрын
Will this Django course teach backend principles in general? (Assuming you already know Python)
@DaveGrayTeachesCode
@DaveGrayTeachesCode 5 ай бұрын
There is also a separate Django REST Framework. That may make another good mini-series.
@BaharAsgar
@BaharAsgar 5 ай бұрын
Hello Dave. I would like to be a Senior Programmer but I'm not sure where I should start exactly, could you please help me with that ?
@DaveGrayTeachesCode
@DaveGrayTeachesCode 5 ай бұрын
I have a Web Dev Roadmap linked at the top of the video description. Takes you from the start.
@FeyCode.
@FeyCode. 5 ай бұрын
Hi 👋 Teacher..
@isaacreyes4915
@isaacreyes4915 5 ай бұрын
So, I have a question: Why are some companies asking for SQL knowledge when most frameworks just abstract away the SQL with ORMs? From what I have learned sofar, Django/Flask are build around using SQL Alchemy to avoid dealing with SQL. Tried learning to work with SQL databases with React and same, everyone is using Sequelize. Isn't using an ORM basically the same as using a document based database?
@DaveGrayTeachesCode
@DaveGrayTeachesCode 5 ай бұрын
Decent question. My background is raw SQL, but I have found Drizzle ORM to be ok. Best to know SQL so you can write it directly any time you need. Using an ORM is not the same as using a document database - although I can see how thoughts lean towards this.
@dev-akeel
@dev-akeel 5 ай бұрын
No no, that would look much better as square instead of circular and at some empty space (most probably at the bottom of explorer).
@mohitjain4943
@mohitjain4943 5 ай бұрын
I have been Doing django For a While now .... Looking to Switch over to "Javascript Everywhere" what do you say? Is it a bad Descision
@DaveGrayTeachesCode
@DaveGrayTeachesCode 5 ай бұрын
Not if that is what you want to do. Follow your interests. It will keep you motivated.
@aftabahmad4773
@aftabahmad4773 5 ай бұрын
@manchalaharibabu1924
@manchalaharibabu1924 5 ай бұрын
Next videos sir
@alexdin1565
@alexdin1565 5 ай бұрын
Thanks Dave, for this new seri as always very clear tutorials . I have some suggestions if you can add in feature: 1- make a video on how we can ovveride the admin dashboard because the default are ugly (This topic no one covered on youtube you can search to see no one talk about it) 2- a dashboard using react and link it to django it will be better. 3- the deployment of django react app or django Next.js
@ouahid_samrani
@ouahid_samrani 5 ай бұрын
One communts
@ayamohammed7655
@ayamohammed7655 4 ай бұрын
(●'◡'●) thank you
@krzysiekkrzysiek9059
@krzysiekkrzysiek9059 5 ай бұрын
Consider creating class-based views before feature-based views 😁. Is it correct to create a Template folder with named apps folders in the root directory instead of creating a Template folder in each app?
@DaveGrayTeachesCode
@DaveGrayTeachesCode 5 ай бұрын
You can do both. At this point in the series, there is the top "global" templates folder and then you can also create a templates folder inside of each app you create.
Python Django Models and Migrations
8:02
Dave Gray
Рет қаралды 7 М.
Python Django Introduction and Beginners Tutorial
27:29
Dave Gray
Рет қаралды 47 М.
Increíble final 😱
00:37
Juan De Dios Pantoja 2
Рет қаралды 110 МЛН
Tom & Jerry !! 😂😂
00:59
Tibo InShape
Рет қаралды 57 МЛН
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 7 МЛН
МАМА И STANDOFF 2 😳 !FAKE GUN! #shorts
00:34
INNA SERG
Рет қаралды 3,8 МЛН
Python Django ORM Intro Tutorial
7:08
Dave Gray
Рет қаралды 6 М.
Simplify React and Phoenix using Inertia JS: A quick look
6:46
Code & Stuff
Рет қаралды 2,4 М.
Python Django Challenge for Beginners with Solution
10:56
Dave Gray
Рет қаралды 4 М.
Python Django Admin tutorial
15:51
Dave Gray
Рет қаралды 7 М.
Web Developer Roadmap (2024) - Everything is Changing
25:02
ByteGrad
Рет қаралды 289 М.
Python Django Tutorial for Beginners
1:02:36
Programming with Mosh
Рет қаралды 2,4 МЛН
Python Django Pages, URLs & Slugs
20:55
Dave Gray
Рет қаралды 6 М.
Increíble final 😱
00:37
Juan De Dios Pantoja 2
Рет қаралды 110 МЛН