Learn Django in 20 Minutes!!
Вставка
- Опубліковано 27 тра 2024
- Learn how to build a simple Django application in as fast as 20 minutes! You'll learn how to set up a Django project, configure URLs, create database models, render dynamic data with templates, and use the Django admin panel. Django is a powerful web framework for Python and I'm going to show you how to get started using it!
Get started with SaaS Boilerplate today for FREE!
👉 Join their discord for more information! / discord
👉 Check out the website: www.apptension.com/saas-boile...
DJANGO BASE TEMPLATE CODE: pastebin.com/AMzZVL12
💻 Master Blockchain and Web 3.0 development today by using BlockchainExpert: 🔗 algoexpert.io/blockchain (Use code "tim" for a discount!)
💻 Accelerate your software engineering career with ProgrammingExpert: 🔗 programmingexpert.io/tim (Use code "tim" for a discount!)
🎬 Timestamps ⏱️
00:00 | Overview
01:43 | Django Project Setup
02:32 | Pregenerated File Explanation
03:39 | Django Applications
06:02 | URL Configuration
10:05 | Running The Server
10:45 | HTML Templates
13:23 | Database Models and ORM
15:16 | Django Migrations
16:23 | Rendering Database Entries
19:30 | Django Admin Panel
20:53 | Next Steps
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
👕 Merchandise: 🔗 teespring.com/stores/tech-wit...
📸 Instagram: 🔗 / tech_with_tim
📱 Twitter: 🔗 / techwithtimm
🔊 Discord: 🔗 / discord
📝 LinkedIn: 🔗 / tim-ruscica-82631b179
🌎 Website: 🔗 techwithtim.net
📂 GitHub: 🔗 github.com/techwithtim
One-Time Donations: 💲 www.paypal.com/donate?hosted_...
Patreon: 💲 / techwithtim
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
⭐️ Tags ⭐️
- Tech with Tim
- Django
- Python
⭐️ Hashtags ⭐️
#techwithtim #programming#python
Here is the code for the Django Base Template! pastebin.com/AMzZVL12
it doesn't seem to work on my end
not working
not working either
its not working
For everyone running in to an error with the base template code, I found the issue. On line 11 in the link code, the rel="stylesheet" is typed out twice. If you remove the first rel="stylesheet", it fixes the issue.
this 20 minute video show my entire django experience
Starting with the Django installation and ending with building an app, this video is incredible! I spent a straight 12 hours trying to get a simple website to work on my local computer without a database on Django. This video is absolutely invaluable!
This is a video version of the Django tutorial on Django's own website. This is not a critique, I'm glad you did this.
You just gained a superfan! Rooting for you all the way! You brought to my way exactly what I needed. Thank you so much
As an IT student from Germany: Thanks! I like that video more than the documentation.
These videos are perfect to get a good overview of a framework. Thanks !
Love the speed! Exactly what I needed to get started!
Short, informative and not boring. Love it.
Man, the video is just awesome. Right speed, right knowledge. thanks 🙏
The best beginner friendly django tutorial that I watched. Thank you soo so much for this!
Exactly what I'm waiting for. You are a life saver 🤗
This is freaking awesome. Thanks Tim.
this tutorial is indeed very helpful to those who are currently learning Django. I'm in middle of making an Django project i came across this video and basic concepts are revised very efficiently. now i feel more confident about Django. very basic but very very helpful and to the point.
Love this. Lately I have been struggling to sit through long videos or multiple vidoes on topics.
Great intro to Django - thanks again Tim !
One of the best tutorials I've seen, thanks
Holy molly, with this guy i can barely understand django but the motivation here was free. Thanks for this great video, you're such an inspiration. 🎉
@@TechWithTim_2 obviously a scam
This made no sense at all.
Hi Tim! I am a big fan of your videos, thanks for all the tutorials.
I want to request you to also create a tutorial on how to deploy the created website on a host like Vercel so that it can be shared. I watched and coded along your Flask Notes App tutorial and deployed the site on Vercel but it gives internal server error repeatedly while working fine on the local. Having a tutorial from you would be really helpful!
Thanks!
This is really helpful, sums up all the things in 20 minutes 👌
Perfect overview of the framework, its my first time using Django.
Awesome .... Explanation .. To the point ... Short & Informative !!!!!
You Nailed it ..!!
I Loved It ..!!
Happy Learning
Thank you for this awesome short video!
I felt like I got the sauce dropped on me. I am inspired to make a website tomorrow morning now. Very clear and good tutorial.
Incredible, thank you.
Yes, I get it now -- thanks to you @Tech With Tim. The jinja template link wasn't working though...had to type it all but it was worth it! Thanks again! Now looking forward to watching your videos on Full stack integration of React for frontend to Django
Great tutorial! Worth the watch :)
very good explained. thank you!
Nice quick how-to on getting started. At 2x speed, it's a fantastic 10.5-minute investment for a programer who has not used Django previously; thanks.
crazy digestable u made this respect
This is really what I need to start Django, thanks 👍.
Yes, yes, yes!!!!
hey man why didnt you link us the templates?
This was a great overview, thank you
Glad it was helpful!
Great tutorial. Thanks.
You good!, thanks for this tutorial!
Thank you This really helped your a life saver
Superb video
I have been learning django from a week but this 20 min is more than a week learning
Thanks for this. I found it helpful
Good job, good intoduction. Thanks.
Not sure if you have any experience, but it would be fun to see some htmx, alpine and tailwind integration into Django. There are many website clone tutorials on YTube but mostly for Nextjs. Would be nice to see some website clone tutorials using only Django, htmx, alpine, tailwindcss. Thanks! ❤
Nice video! Much needed
Would love a Next.JS tutorial! I'm looking to use it for my next app, but I'm not finding many good tutorials. (I like to follow a tutorial first before jumping straight into trying to build and have loved your tutorials!)
thanks! i've learned a lot from the video!
Thanks for the overview.
thank you giving such a good info about django.
Nice tutorial, Thanks
at 12:15, for the home.html code template, the syntax is not highlighted as yours...not sure if it's because the modules/frameworks/libs for that file is not activated?
thanks gave me the complete overview of the django
Yeah I have tried understand django, I think now I get some information thank you ❤
Muito bom o video, da uma boa clareza do caminho que tenho que seguir!!!
Much needed 💟
wallahi I loved the video, so easy to understand even tho django is not shallow
Amazing!! thanks!
Excellent video, kudos
Absolutely nailed it, Tim.
Exactly today I got to know about this apptension
This video is basically my entire 4 month full stack boot camp last year
Where did he take this Jinja 2 template? I want to know
same doubt
Sixteenth comment:
Great video, I already have a bit of experience with Flask from your earlier videos, Django seems quite similar and probably easier to pick up
Hey tim, I loved you django tutorial, and I have a request if you create a similar crash course for nextjs
Wow this is really great stuff.
The install worked successfully! Congratulations!
You are seeing this page because DEBUG=True is in your settings file and you have not configured any URLs.
I am getting this error. What should I do ?
is template codes avaliable on somewhere?
Again, perfect timing 😄
Can you please link that base.html?
maybe share ur jinja template?
he shared it please see the description
Love it!
I have installed SaaS Boilerplate and it looks great. Could you please do a tutorial on deploying an ecommerce site using prebuilt functions? Looks super useful.
Have you found anything with anyone being able to deploy a site using saas boilerplate?
@@TheRoyL so I managed to deploy SaaS boilerplate on AWS and it costs about $200 per month to run... way too expensive for my use case and I imagine virtually every other solo dev. Unless they rework it for a lite version its not practical to deploy.
How do I do this 11:22 ? I have copied all the code and it's still not working and what is Jinja templating engine? Please can someone guide me, I am stuck.
same
Wow, is this a dream!
You missed one important part of django basics which is submitting a request from a template to a view so that the user could navigate to different views or make a change in database. Overall good job.
❤I enjoyed the video ❤
Thanks you so much Tim, just what i needed
I need a refresher this is okay. Need to brush up more on my Django ..
love this avtor best video
thanks tim
can you make a tutorial on how to connect mongo db to django or mongodb to python?
That would be a great help if you can make a video or at least a blog on it.
Anyways Love from India🙌❤
from where could i access the jinja temlpating engin code that he just pasted?
Where do we find that HTML boilerplate template code?
pastebin.com/AMzZVL12
Thanks for the tutorial! But may I know where I can find the navbar template code? at 11:03?
Yes we want django tutorial from your voice
Where did you get that Jinja template HTML code? It came out of nowhere. I looked on the Jinja website but i still do not know where this came from.
let me know if you got😄
@@Sillysmiles76 same :(((((
same here. this made me close the video since i cant continue following along
@@retrorewind6042 It's in the description
very useful
@TechWithTim Can I use Django for commercial purposes or do I need to pay someone?
Very good! Would you say that Django is essentially the same as Wappler (php based) but for Python? As I watch the video, the interface and logic seems similar.
Lol nice. I was just crying and looking for a Django tutorial.
Hello Tim. The autocomplete for the model fields does not work in my vscode. Do you have any idea what might be the problem?
There is so much to do in Just ONE SECOND!!!
what do you think about using front end framework like react instead of django templates? which would be better for production? Note: i prefer to use django templates as i like to stay in one technology for the project but if there is something usefull to split my projects i will take it in consideration.
I had the same question before and the conclusion is that, react offer a powerful ecosystem that allows to creat interactive user interfaces and it’s client side rendering. Django templates are server side rendering and yes, in combination with vanilla could reach a nice maturity level and specific needs, but hey, it all depends.
Thank u
cool video)
hey tim can u make a video on how u feel about taking coursera courses/udemy courses or edx courses for coding. On sale of course
HI Tim. Make a video on how to create a dating site step by step. Create more features.
Great way to get a high-level idea on the Django framework without having to watch 2+ hrs of tutorials 😉
thought I would mention that the responsive of screen size changes the displayed behavior. On wide/desktop screens the hamburger menu disappears and turns into menu items displayed on the left-hand side next to 'My Django App'.
Awesome video as always! What is your vscode theme?
looks like sublime text / monokai pro
Best Master
Fanstatic video. As a beginner often I wonder how much of this set up I need to memorise to be able to say " I know Django". I wonder how do you take or keep notes of what you have learned. I am bad at memorisation but good at remembering overall concept. Help ?
For everyone running in to an error with the base template code, I found the issue. On line 11 in the link code, the rel="stylesheet" is typed out twice. If you remove the first rel="stylesheet", it fixes the issue.
how can we integrate python libraries in django webapp, libraries like opencv, numpy etc.