Тёмный

Python Django App & Templates tutorial 

Dave Gray
Подписаться 317 тыс.
Просмотров 12 тыс.
50% 1

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...
🔗 RU-vid 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

Опубликовано:

 

28 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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!
@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.
@gerryhoekema2561
@gerryhoekema2561 5 месяцев назад
Thanks for this one, too Dave. Keep 'em coming!
@aftabahmad4773
@aftabahmad4773 5 месяцев назад
Every time I go through these I really pray for you. Thanks once again
@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.
@anjaneyulub2529
@anjaneyulub2529 5 месяцев назад
Thanks dave ❤ for starting this django series
@lyndistech
@lyndistech 2 месяца назад
Hi Dave. Thank you so much for this!
@_Sparrowsky
@_Sparrowsky 2 месяца назад
Everything works. Thx bro
@aminkt1742
@aminkt1742 3 месяца назад
your explanation is so good man, luv u❤❤
@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!
@mrhhgaming3950
@mrhhgaming3950 24 дня назад
It really helped me, probably the best tutorial on RU-vid
@DaveGrayTeachesCode
@DaveGrayTeachesCode 23 дня назад
Thank you!
@FeyCode.
@FeyCode. 5 месяцев назад
Thank you Teacher 😊
@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
@tanmay6207
@tanmay6207 5 месяцев назад
Thank you!
@n4mlss
@n4mlss 5 месяцев назад
Awesome!!
@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.
@ahmadshabaz2724
@ahmadshabaz2724 5 месяцев назад
You are legend brother. Please make tutorials for how applaud website on cloud .
@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..
@remomagalhaes4707
@remomagalhaes4707 2 месяца назад
Hello from Brazil. Thanks for your videos
@MatheusCampos-lw9pt
@MatheusCampos-lw9pt 2 месяца назад
tnx
@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.
@saeedkhazalvand4821
@saeedkhazalvand4821 5 месяцев назад
MUCH ❤❤❤❤
@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.
@manchalaharibabu1924
@manchalaharibabu1924 5 месяцев назад
Next videos sir
@aftabahmad4773
@aftabahmad4773 5 месяцев назад
@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
@ayamohammed7655
@ayamohammed7655 4 месяца назад
(●'◡'●) thank you
@ouahid_samrani
@ouahid_samrani 5 месяцев назад
One communts
@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.