Python Django Tutorial for Beginners

  Рет қаралды 2,358,462

Programming with Mosh

Programming with Mosh

Күн бұрын

Become a Django pro! 🚀 Build amazing back-ends with this beginner-friendly Python tutorial.
🔥 Ready for a deep dive?
- Check out my full course: bit.ly/3E7Iq4d
- Subscribe for more awesome content: goo.gl/6PYaGF
Other resources:
Python Tutorial for Beginners: • Python Tutorial - Pyth...
MySQL Tutorial for Beginners: • MySQL Tutorial for Beg...
✋ Stay connected:
- Twitter: / moshhamedani
- Facebook: / programmingwithmosh
- Instagram: / codewithmosh.official
- LinkedIn: / codewithmosh
TABLE OF CONTENT
0:00:00 - Introduction
0:00:58 - Prerequisites
0:01:38 - How to Take this Course
0:02:40 - Getting Started with Django
0:03:19 - What is Django?
0:06:08 - How the Web Works
0:10:32 - Setting Up the Development Environment
0:12:33 - Creating Your First Django Project
0:18:44 - Using the Integrated Terminal in VSCode
0:22:05 - Creating Your First App
0:25:36 - Writing Views
0:27:27 - Mapping URLs to Views
0:32:10 - Using Templates
0:36:19 - Debugging Django Applications in VSCode
0:44:11 - Using Django Debug Toolbar
0:48:37 - Building a Data Model
0:49:21 - Introduction to Date Modeling
0:52:00 - Building an E-Commerce Data Model
0:56:35 - Organizing Models in Apps
💡 Why Django?
- Python's top web framework - popular with startups to giants.
- Build powerful back-ends fast.
- High-demand developer skill.
👉 This tutorial is perfect for you if:
- You know basic Python.
- Want to build complex web applications.
- You're aiming for a back-end development career.
Let's get coding!
#django #python #webdevelopment #backend #coding

Пікірлер: 2 000
@programmingwithmosh
@programmingwithmosh 2 жыл бұрын
Get the Ultimate Django course (zero to hero): bit.ly/3E7Iq4d
@emmanuelrotimi806
@emmanuelrotimi806 2 жыл бұрын
Yes, he's right, when you say in your tutorials that "don't worry, I'll hold your hand through it"... It's like a confidence a little child has in a Father. Thanks and well done. But Is it that you hate PHP or you don't use it? Bcos I never saw your videos on it. Please, is there a way to chat you in private!?
@_sdh
@_sdh 2 жыл бұрын
hahass
@sakhrnabil7
@sakhrnabil7 2 жыл бұрын
Is there a discount Voucher for students? :)
@_sdh
@_sdh 2 жыл бұрын
L
@SoberMan2001
@SoberMan2001 2 жыл бұрын
Mosh Can you please upload at least one full course for free ?
@JHL0L
@JHL0L Жыл бұрын
*For Windows users:* INTERPRETER: _In the virtual environment folder, instead of "bin" folder we have "Script" folder._ PYTHON INTERPRETER: _You must provide full path to the python executable - i.e.: C:\Users\username\.virtualenvs\myDjangoProject-y6mANNT9\Scripts\python.exe"_ MISSING .vscode FOLDER: _Using command pallete, open "Open Workspace Settings (JSON)". This will force .vscode folder to appear._
@amendola2232
@amendola2232 Жыл бұрын
You are a godsend, I literally love you
@Priya-oz4ib
@Priya-oz4ib Жыл бұрын
@@amendola2232 I've copied and pasted the path to the select interpreter but it's not appearing in the settings.json file. Will the code still work?
@amendola2232
@amendola2232 Жыл бұрын
@@Priya-oz4ib yeah, everything works, just won't appear on the JSON
@birukabel3590
@birukabel3590 Жыл бұрын
Thank you sir
@bricolageb9398
@bricolageb9398 Жыл бұрын
but i write \bin\pyhon automaticly saved as script\python.exe so its not problem
@ismaildalhatu308
@ismaildalhatu308 2 жыл бұрын
I feel so secure when mosh says in this course i’ll teach you everything you need to know.
@vijay.e4228
@vijay.e4228 2 жыл бұрын
same here
@prashantbudhamagar5552
@prashantbudhamagar5552 2 жыл бұрын
He explains it so amazing
@maziochendu5258
@maziochendu5258 2 жыл бұрын
🤣🤣😭😭😭😭 exactly. He has a nice face
@laughingloud881
@laughingloud881 2 жыл бұрын
I culdnt integrate the terminal in vscode using Windows Could you help
@jamjam3448
@jamjam3448 2 жыл бұрын
me toooo
@ianisoprian8187
@ianisoprian8187 Жыл бұрын
After going through college and having countless hours spent in front of my computer trying to figure things out on my own, this video was like a touch from god, it was so easy to follow and very very well explained. Thanks for your help!
@phillipgilligan8168
@phillipgilligan8168 2 жыл бұрын
To all those coming in and using vscode on windows, when setting your interpreter path, its in C:\Users\User\.virtualenvs\storefront-XXX\scripts\python , not \bin\python. Obviously substitute "User" with your username, and "XXX" with your env. This also doubles up for those looking for the "bin" directory when hes showing where its at in file explorer, its in "scripts". Update: it seems for the python virtual env in terminal on vscode there seems to have been an update on windows. Now when you go to select it will show you the name of the virtual env you are trying to select in ()'s so you can be sure. Inside the parentheses will be the name of the folder you started the virtual env in. Pretty cool.
@caionepomuceno986
@caionepomuceno986 2 жыл бұрын
Thanks, mate!
@arinatama5502
@arinatama5502 2 жыл бұрын
i use windows, and had already followed all the steps but I couldn't get vscode directory on my storefront . Do you know what the problem?
@karamthebian1660
@karamthebian1660 2 жыл бұрын
@@arinatama5502 heyy same issue here, did u find the solution?
@hasarajayasinghe
@hasarajayasinghe 2 жыл бұрын
don't worry about it, when you open the terminal it will open correctly.
@reignellejoycanasa5914
@reignellejoycanasa5914 2 жыл бұрын
thanks!!
@mattdagangsta
@mattdagangsta 2 жыл бұрын
My first video of yours, your ability to teach this framework in a linear fashion that actually MAKES SENSE cant be found anywhere else. Saved me a bunch of time and hassle for this project I have coming up. Thanks a lot!
@hankanguyenova1672
@hankanguyenova1672 Жыл бұрын
Best 3 hours spent on an online course! I like the fast pace of the course, that was compacted with so much information that I had to keep pausing, trying to understand, googling new terminology. This course is so inspiring and worth spending time on. I enjoyed every single minute of it. Thank you so much for sharing the knowledge, I really appreciate it. Will continue on the 10-hour course! Wish you all the best!
@adventurer2395
@adventurer2395 2 жыл бұрын
I think you are one of the few instructors who actually take the time to create content on testing and deployment for your courses. Having a CS background, I really like how you differentiate yourself in this regard.
@madmister
@madmister Жыл бұрын
who tf asked bout your background
@moxieable
@moxieable Жыл бұрын
I've been struggling to understand the basic concept of django for the past 3 years, it's amazing that I found my answers just 30 minutes into this awesome video tutorial. Thanks Mosh
@binitagupta6668
@binitagupta6668 2 жыл бұрын
KZbin really seems like blessing because of people like you. thank you!🥰
@fahadismail7430
@fahadismail7430 2 жыл бұрын
thank you for supporting me
@anshsharma494
@anshsharma494 2 жыл бұрын
@@fahadismail7430 But this comment is for Mosh🤣🤣
@kamal-hassan
@kamal-hassan 2 жыл бұрын
@@anshsharma494 😂😂😂
@anshsharma494
@anshsharma494 2 жыл бұрын
@@kamal-hassan where are you from bro
@composerkris2935
@composerkris2935 6 ай бұрын
I was following along with the tutorial that is provided on the Django page and getting through it ok, but I’m about a quarter of the way through your video and it’s already so much better because you are explaining the why. So many tutorials just take the approach of “do this, then do that.” But it makes it hard to apply to other scenarios because you don’t know why you’re doing certain things. So great job!
@Paul-js3ro
@Paul-js3ro 2 жыл бұрын
I celebrate you Mosh. Always wanted to get started on programming. I bought tonnes of books and wasted years but could never really get started. Now am on my way to learning thanks to you. I have rediscovered my interest and am enjoying every step!
@peter-tm4ex
@peter-tm4ex Жыл бұрын
Just check in on you, Are you a programmer now? what project have you built and are you working as SWE? 🤜🏾
@savant7288
@savant7288 Жыл бұрын
i have a job interview in 2hours as a django developer and here i am learning django lols
@vdevivaraprasad3588
@vdevivaraprasad3588 2 жыл бұрын
I am waiting for this course from you sir.finally you are made this.from last one year i am learning the programming languages that are made by you.those are out standing and explanation is beautiful.
@TheGrandmaster1
@TheGrandmaster1 2 жыл бұрын
Thanks for this man. I have a few courses that are like 10 hours but they seem a little overwhelming to start with. But I love your stuff. Really gets me up and going. Someday I might actually have a nicer place to live, and a nicer car and better life because of channels like this.
@GagandeepSinghKundi
@GagandeepSinghKundi 2 жыл бұрын
Wish you loads of luck
@Olasthetics
@Olasthetics Жыл бұрын
Hows your life now
@vedkorla300
@vedkorla300 Жыл бұрын
Good luck man, coding can change the track of your career. It did for a lot of friends of mine and got them a good stable job. Stay at it!
@kirwakelvinkering3122
@kirwakelvinkering3122 Жыл бұрын
Thank you Soo much Mosh ,, I rigmaroled around many webs for a long time to understand Django ,, but guess what , everything was in vain. With this one-hour tutorial , I immediately navigated almost all tutorials ,, be it 10-hour long , 3-hour long et cetera, you are just the best of all teachers we have in the S. Engineering field . Again , thank you soooooo much 👏
@banhimukherjee
@banhimukherjee 2 жыл бұрын
I was stuck at one place for quite sometime , today as a beginner could finally launch Django..Thank you Mosh, great video.
@markdinopelonia3499
@markdinopelonia3499 2 жыл бұрын
The legend is back. 😍 As a self-taught programmer, your crash courses are always in my starter pack. Thanks to you I'm now a Frontend Engineer.💖
@martynbirdem189
@martynbirdem189 2 жыл бұрын
kzbin.info/www/bejne/rGWuhXeno76ordE -- Take an image using webcam javascript kzbin.info/www/bejne/oWrcqZ2cecalp7M -- currency convertion using Javascript very usefull content for coding
@youngmingo103
@youngmingo103 2 жыл бұрын
How did you start yourself ? Any advice for someone first beginning ?
@fabiendu83640
@fabiendu83640 2 жыл бұрын
@@youngmingo103 he just watched videos he was taught through yt
@kind_enquirer6229
@kind_enquirer6229 2 жыл бұрын
Go, go, go Marky Dinoey
@GMPranav
@GMPranav 2 жыл бұрын
Very funny thing to say in a vid about a backend framework innit
@dahiaturriduan
@dahiaturriduan 2 жыл бұрын
This came at the perfect time, I was about to finish the python tutorial video and this came, thanks again.
@memeline7015
@memeline7015 Жыл бұрын
hey mosh! thanks for making this course, It helped me and its wonderful! to all of the people reading this comment please understand that learning to code takes time. try to give python 1 hour daily and it's very important to understand the basics of python. so good luck out there!
@halimasworld4379
@halimasworld4379 2 жыл бұрын
I love Mosh’s videos. I have learned Python, Javascript and Html by his videos. Mosh can you make a video on Flutter please? Because I can’t understand any other tutorials except yours.
@adityaprabhakolay3562
@adityaprabhakolay3562 2 жыл бұрын
Also I learned a lot from your python (full course) video. It helped a lot! Thank you😊
@omarahmad252
@omarahmad252 2 жыл бұрын
thank you so much mosh you changed my life because your python course was the first one I did keep it up 👍😊
@koollucian
@koollucian 9 ай бұрын
You've got a fantastic way to teach. This video is not only very informative but, in a way, also entertaining compared to some video tutorials that I have come across. I have decided to subscribe. Kudos to you and your team! Keep it up.
@mav29
@mav29 2 жыл бұрын
your stuff are definitely go to videos, working on some project and I needed to redeploy my old projects from php, moving to python , just done with the native cli automation, i'll be working on its web dashboard now, this helped me get to start it, old templates are ready just migrating now. thanks thanks a lot
@drecode198
@drecode198 2 жыл бұрын
Finally now I understand what django is. Thank you so much mosh hamedini. Subscribed🥳
@victorisaac8331
@victorisaac8331 2 жыл бұрын
Mosh The Legend, the man who held my hand and made me a Python programmer. You're a blessing to us all
@chriss4154
@chriss4154 2 жыл бұрын
This amazing feeling when you see only errors in the browser and then Boom suddenly it works. So satisfying. Thank you Mosh. I think in December I'll buy your full course on Django.
@robertmerritt5245
@robertmerritt5245 2 жыл бұрын
Hi Mosh, this is awesome, as usual! I plan to enroll in your full course as a monthly subscriber, but just wanted some clarification on the 10 hour course length advertised in the KZbin video vs the 5 hours indicated on your site. Are there other courses that make up this one, or is it just an approximation for how long it would take to complete the 5 hours of video content? Looking forward to more of your course.
@petrsemenov7570
@petrsemenov7570 2 жыл бұрын
Here it comes, mates! Cheers! I’ve been waiting for it for 1,5 years!
@petrsemenov7570
@petrsemenov7570 2 жыл бұрын
@@programmingwithmosh I sure will! Are we expecting a longer paid course now? I really hope so! Take my money!
@sarithakonanki7901
@sarithakonanki7901 2 жыл бұрын
@@programmingwithmosh u already popular guru🙏❤️
@Tech_Publica
@Tech_Publica 2 жыл бұрын
you know what would be really cool to watch, Mosh? A video series on your workflow as a content creator. I admire your work not only for your competence as a dev and talent as a teacher, but how engaging and high quality and (appartently) effortless your content is. I know this is kind of revealing your secrets but I think that are A LOT of aspiring content creators (not me, for sure, I am asking for a friend.. :P ) who might take huge advantage by having you teach them how to go about in detail to create learning material of this quality
@rpf23543
@rpf23543 Жыл бұрын
The first tutorial I have watched from you Mosh and I am very much impressed. Awesome! Thank you very much!
@alansnyder6565
@alansnyder6565 Жыл бұрын
I love this course. It is much more helpful than the professor in my current class!!
@jacktembo
@jacktembo 2 жыл бұрын
Have been waiting for this course for 2 months now since you told us that you are preparing a Django course. This is the only Django course I needed on earth. I really wanted to learn from you alone. Thanks so much Mosh.
@kind_enquirer6229
@kind_enquirer6229 2 жыл бұрын
The patient dog gets to feast on the fattest bone.
@doomerwojak1368
@doomerwojak1368 Жыл бұрын
You should learn from everyone and mainly - from the documentation. These instructors may not teach every concept due to their availability, hence exploring other sources is a great idea as well.
@haokaixuan
@haokaixuan 2 жыл бұрын
I HAVE YOUR PYTHON COURSE, SO THIS WAS PRETTY EZ FOR ME, THANK YOU SO MUCH MOSH! WE LOVE YOU!
@justknowhow7290
@justknowhow7290 2 жыл бұрын
nice
@nature_love734
@nature_love734 2 жыл бұрын
The motivation before getting started, is the best way of teaching and is even easier to understand ☺️ (thank you sir )
@davidsantiagogalvan3795
@davidsantiagogalvan3795 2 жыл бұрын
Thank you a lot Mosh! I wasn't learning great Django, but I see this video, and I understand 100% Thank you very much 💯💻
@priyanka1884
@priyanka1884 2 жыл бұрын
Thanks you mosh ❤️❤️❤️. Got job at Infosys of 25LPA , your videos helped a lot achieving my aspirations. And my son learns python from your videos and my son was waiting for this django from 1.5 years thx a lot.
@tarunlokhande9916
@tarunlokhande9916 2 жыл бұрын
finally!!! thank you mosh... wait is over... going to learn it now
@QAInsights
@QAInsights 2 жыл бұрын
@@programmingwithmosh Any love for Go lang :)
@martynbirdem189
@martynbirdem189 2 жыл бұрын
kzbin.info/www/bejne/iWapq42Gpdahmrs Javascript tutorial easy example kzbin.info/www/bejne/rZK7n513eap4d8k
@js_offc8436
@js_offc8436 2 жыл бұрын
It's one of the best tutorials that I find on KZbin, thank you!
@geezer2867
@geezer2867 2 жыл бұрын
Brilliant! Thank you! You teach much better than most of the university teachers.
@florianner9646
@florianner9646 2 жыл бұрын
This is so timely! Thank you so much for releasing this course. You're the best! 😊
@roshanaryal310
@roshanaryal310 2 жыл бұрын
You are one of the best, Mosh❤️! Thank you for this course!!
@martynbirdem189
@martynbirdem189 2 жыл бұрын
kzbin.info/www/bejne/rGWuhXeno76ordE -- Take an image using webcam javascript kzbin.info/www/bejne/oWrcqZ2cecalp7M -- currency convertion using Javascript very usefull content for coding
@OmerBoehm
@OmerBoehm Жыл бұрын
Love your videos, every word is gold. Perfect timing for me ;) I was just looking to get started with Django.
@gregorylibenson488
@gregorylibenson488 Жыл бұрын
Another awesome course in a very clear English ! As always, good for you, Mosh !!!
@calitts4708
@calitts4708 2 жыл бұрын
Just what I needed, later I'm gonna share with my friends, thanks!
@harshvpandey101x
@harshvpandey101x 2 жыл бұрын
Dude, you're the best teacher EVER!!!
@gerryramosftw
@gerryramosftw 6 ай бұрын
I purchased the course and wow it is extremely comprehensive, and engaging! not boring at all and I feel like there is not a wasted moment. it is not like college lectures where i want to fall asleep. each video is bite size and i actually look forward to each one, super fun
@AnonSmith-hh5cm
@AnonSmith-hh5cm 5 ай бұрын
Definitely the extra push I am looking for to purchase the course. I know my $99 won't go to waste. Thanks for dropping a testimonial. 😊
@user-uy2ur3ui3m
@user-uy2ur3ui3m 3 ай бұрын
Before this video, I had no idea about Python, and now I am more confident about creating my personal project for my coop. Thank you so much, brother
@khaliphathiane584
@khaliphathiane584 2 жыл бұрын
Finally !! I will definitely take the full course ❤️
@mdnazmulh.8908
@mdnazmulh.8908 2 жыл бұрын
Finally, Django Course comes... Thank you soo much Mosh :)
@martynbirdem189
@martynbirdem189 2 жыл бұрын
kzbin.info/www/bejne/iWapq42Gpdahmrs Javascript tutorial easy example kzbin.info/www/bejne/rZK7n513eap4d8k
@frontrunnercars4199
@frontrunnercars4199 2 жыл бұрын
You're the best online tutor have ever met, Your Free courses are always fantastic and insightful. THANKS BOSS!
@zaeltrus
@zaeltrus Жыл бұрын
Thank you so much for this. I am so annoyed that I go to a university where I have to pay 15.000 GBP and the lectures are so bad I have to look for other resources. And you provide material that is superior in quality of information and representation as well. Thank you so much!!
@kvdg7502
@kvdg7502 2 жыл бұрын
Thank you so much Mosh. I have learnt a lot from your courses. You are the best tutor ever I have seen . I appreciate your hard work and the dedication with which you create courses is amazing.
@donwp
@donwp 2 жыл бұрын
Thanks Mosh! You seem to have a talent for hitting the key points just deep enough to enable understanding and experimentation. I'm interested in more info on a comment you make about templates. You mention that nowadays people use Python to return data, not html. Is that because people are now passing data to tools like React, or is there something else happening that I don't know about.
@smokinep
@smokinep 2 жыл бұрын
Hi, I would also like a clarification on Mosh's comments for templates not being used much
@ugochukwuchukwudifu9776
@ugochukwuchukwudifu9776 Жыл бұрын
Yes, data is now passed to tools like react or other frontend tools. It's sort of an industry standard. It's called decoupled architecture.
@protuscoolnetwork402
@protuscoolnetwork402 2 жыл бұрын
Hi Mosh, I am a beginner in python programming. Your tutorials are perfect. Well done man!
@monkmode9138
@monkmode9138 Жыл бұрын
the best tutorial video i have ever seen, the most things i liked about this video is how you describe what we should know for this tutorial in the beginning of the video. the other tutorial channels don't do that. they just hop into the video
@mehmetcan.
@mehmetcan. Жыл бұрын
Yeah dude I agree with you. He is the best teacher I've ever seen. If I was a woman, I'd give my little cupcake to this man
@theatreresponse4206
@theatreresponse4206 2 жыл бұрын
Finally legend is back.
@aravindkumar4705
@aravindkumar4705 2 жыл бұрын
Bro may I no what's the use of this python djongo? I mean what all can we do with it? Can u pls explain, i jst wnt to no, pls tell
@theatreresponse4206
@theatreresponse4206 2 жыл бұрын
This course is for beginners who are new to the Django framework, Mosh Sir will explain it with a cool 😎 e-commerce ( online shopping website) project. So you enroll it.
@theatreresponse4206
@theatreresponse4206 2 жыл бұрын
This course is for beginners who are new to the Django framework, Mosh Sir will explain it with a cool 😎 e-commerce ( online shopping website) project. So you enroll it.
@janukasubedi2715
@janukasubedi2715 2 жыл бұрын
Lol he is gone again🤣
@arvindhkumar686
@arvindhkumar686 2 жыл бұрын
Your tutorials are very useful to me. Thank you for teaching.
@mindmaster064
@mindmaster064 2 жыл бұрын
Would just like to say that you have a gift for simplifying and translating complexity into something easily digestible. I've tried to learn Django a few times and given up because of the hodge-podge of models, views, and whatever not being clearly explained enough to where I could see how they are glued together. Mind you, I understand React, JS, and other frameworks just fine, but Django is just 'different' from the others and I wasn't getting it. Even with this little 1hr sampler I probably understand it at least 2x as much, thanks!
@Healthy_Mukbangs
@Healthy_Mukbangs 2 жыл бұрын
Hope you’re well Mosh, May God bless you in all you do. So grateful for the courses on the website too
@AmamDewan
@AmamDewan 2 жыл бұрын
Me and my friends was waiting for this tutorial. In the mean time I got a job as Associate Software Engineer. Do you believe? Associate! not Junior! Thank you mosh! You will be in my heart!
@AmamDewan
@AmamDewan 2 жыл бұрын
@@programmingwithmosh as always I will. Love from Bangladesh ❤️
@believer8754
@believer8754 2 жыл бұрын
@@AmamDewan hi bro can u tell me that u just learn from utube to got job or havwe any CS degree
@AmamDewan
@AmamDewan 2 жыл бұрын
@@believer8754 I'm from CS background, but not completed yet. Most of the tech I've learned from mosh courses. Not only youtube, I've registered for full courses. believe me it's worthy. In my interview about 80% technical questions covered by these courses. So my suggestion is hop in!
@believer8754
@believer8754 2 жыл бұрын
@@AmamDewan mee too i am now in CS degree some samesters left could u share whatsapp number so can communicate in future thnks
@AmamDewan
@AmamDewan 2 жыл бұрын
@@believer8754 yah sure +8801521103492
@arosh.akalanka
@arosh.akalanka 2 жыл бұрын
Thank You Mr. Mosh. If *Teaching* is an art, You're a *Picasso* . ❤️
@marflage
@marflage 2 жыл бұрын
It is, and he is
@lucrainville7095
@lucrainville7095 2 жыл бұрын
Your entities relations animation is wonderfully clear
@kashififtikhar571
@kashififtikhar571 2 жыл бұрын
Thanks for your effort in making this premium course and easily available to us.
@litDevYT
@litDevYT 2 жыл бұрын
Never been this excited to learn
@joshua970101
@joshua970101 2 жыл бұрын
I'm so grateful you made a Django course. I've been working my way through the documentation, but it's been hard to learn, so this is very helpful!
@lindajohnson6572
@lindajohnson6572 2 жыл бұрын
Yes, it's really helpful to me as well J
@abhaytiwari6411
@abhaytiwari6411 2 жыл бұрын
Mosh i have started my coding journey in 9th grade with your python videos to be honest your video are so good
@dumbtex6107
@dumbtex6107 Жыл бұрын
thank you for the tutorial it was very helpful and comprehensive enough to get me started first project is going to be for a robot using django mostly as an api to send data from a website to the bot itself ( coords for a laser and on/off for motors ) im excited
@evergreen_5
@evergreen_5 2 жыл бұрын
By watching your KZbin video course . I'm able to write simple python programs in just 1 month. You're are best teacher I have ever learn from my full respect goes to you . 😊
@martynbirdem189
@martynbirdem189 2 жыл бұрын
kzbin.info/www/bejne/iWapq42Gpdahmrs Javascript tutorial easy example kzbin.info/www/bejne/rZK7n513eap4d8k
@steviousmusic
@steviousmusic Жыл бұрын
I just want to take some time to genuinely appreciate the effort that went into this video. Thank you!
@EvgeniySakharov
@EvgeniySakharov 2 ай бұрын
The beginning is impressive. That's why I signed up and liked it. Now Mosh you have a student from Russia.
@Webtricker
@Webtricker 2 жыл бұрын
Thank you so much for explaining Python Django in a very easy and beautiful way.😊It was very interesting😃. This tutorial will be very useful for beginners. 😉
@mdnazmulh.8908
@mdnazmulh.8908 2 жыл бұрын
Again waiting for the advanced concepts... Thanks!
@martynbirdem189
@martynbirdem189 2 жыл бұрын
kzbin.info/www/bejne/iWapq42Gpdahmrs Javascript tutorial easy example kzbin.info/www/bejne/rZK7n513eap4d8k
@107madhu
@107madhu 2 жыл бұрын
Hey@Mosh, Great video. what tool do you use to create the video? specially the animation part.. It looks really cool.
@customname4680
@customname4680 Ай бұрын
2024 and this is the best and most detailed course I have ever watched you break things down so well and your explanations are perfect I wish I could afford the whole course, but my country's exchange rate is killing me i'll try to save for it , might take me two years but would be worth it
@ramymagdy3482
@ramymagdy3482 2 жыл бұрын
Great descriptive tutorial, keep up the good work 👍
@29namankumar29
@29namankumar29 2 жыл бұрын
Thank You for this course Mosh!
@29namankumar29
@29namankumar29 2 жыл бұрын
Mosh!! Thank you so much for gifting me a heart!!
@29namankumar29
@29namankumar29 2 жыл бұрын
One ❤️ from me!
@azwadrafique7082
@azwadrafique7082 2 жыл бұрын
Fun fact, Mosh actually started recording the "First Django project section" on my birthday btw i struggled a little on the django part of ur previous 6 hour python tutorial so its really a wish come true, ty a lot
@taggebagge
@taggebagge 2 жыл бұрын
Happy Birthday retroactively.
@akshaygulabrao4423
@akshaygulabrao4423 Жыл бұрын
I like that you use the super big font, so that we only need half the screen for the video. Thank you!
@sarmadrafique426
@sarmadrafique426 Жыл бұрын
Just an year ago you uploaded this tutorial. At that time you have 2 million subscribers. And now it's about 3 million. Congratulations Mosh. I am very curious to know What are we going to learn? What had mosh left untill now?
@Jwdsaidy
@Jwdsaidy 2 жыл бұрын
Hello Sir, I can just say you are Awesome! You are a world class teacher. I have followed this Django one hour lesson step by step. I have thrice checked the steps for adding a debug toolbar, but it does not appear on my browser, I used Chrome, & Microsoft edge. Thank you sir.
@unzero3274
@unzero3274 2 жыл бұрын
Did you manage to find a fix? Mine isn't showing up either
@sangkunpark7517
@sangkunpark7517 2 жыл бұрын
Add followings on settings.py if DEBUG: import mimetypes mimetypes.add_type("application/javascript", ".js", True)
@yentranz
@yentranz Жыл бұрын
Try below: 1. Add django-debug-toolbar’s URLs to your project’s URLconf: from django.urls import include, path urlpatterns = [ # ... path('__debug__/', include('debug_toolbar.urls')), ] 2. If the toolbar still doesnt show, try to kill the current session (Ctrl C), then run migrate command (python manage.py migrate), then run the server again, the toolbar should be displayed.
@alexkiborgok7588
@alexkiborgok7588 2 жыл бұрын
I felt knowledgeable in django the moment I got a notification for this course.
@martynbirdem189
@martynbirdem189 2 жыл бұрын
kzbin.info/www/bejne/iWapq42Gpdahmrs Javascript tutorial easy example kzbin.info/www/bejne/rZK7n513eap4d8k
@kareer4genz
@kareer4genz 9 ай бұрын
excellent demo,literally it helped lot to learn about frameworks in backend.Thanks alot 🙌🙌❤❤
@kotsh22
@kotsh22 2 жыл бұрын
i took Node Js , React JS , React Native , Docker courses from you and i must say you Veryyyy GOOOOOD Teacher now i can call my self web developer or full stack developer i created many projects and all working GREAT i use all your tips and till now i didnt find better way than yours mosh Thank you Mosh you change my life god save you and your family :)
@xXSebbeeXx
@xXSebbeeXx 2 жыл бұрын
For anyone who has complications with installing the debug_toolbar in django: After the debug_toolbar is added to the `INSTALLED_APPS` inside the `settings.py` file, the url start point has to be configured in the `urls.py` file, as described at 45:35. However, I had to adapt the way the debug_toolbar is added to the `urlpatterns`, since `import debug_toolbar` showed me an error: `Import "debug_toolbar" could not be resolved`. I removed the `import debug_toolbar` from the top and changed the path(..)-entry of the `urlpatterns`-array in the following way: Instead of `path('__debug__/', include(debug_toolbar.urls))` I used `path('__debug__/', include('debug_toolbar.urls'))` // Note the single quotation marks, denoting a string object, around the argument of the include(..)-function. This resolved the issue for me. I assume there was a change in how apps are or can be referenced inside the `urlpatterns`-array, since the installation guide for the toolbar has changed from what is seen in the video to the page I could view, when writing this comment. Good luck, to anyone who ctrl-f's this comment :D.
@stephendoamekpor1671
@stephendoamekpor1671 Жыл бұрын
I did same but toolbar is still not showing. Any help?
@yentranz
@yentranz Жыл бұрын
​@@stephendoamekpor1671 Try below: 1. Add django-debug-toolbar’s URLs to your project’s URLconf: from django.urls import include, path urlpatterns = [ # ... path('__debug__/', include('debug_toolbar.urls')), ] 2. If the toolbar still doesnt show, try to kill the current session (Ctrl C), then run migrate command (python manage.py migrate), then run the server again, the toolbar should be displayed.
@jurre83
@jurre83 Жыл бұрын
I've tried everything and the toolbar was still not showing. Then i tried IE instead of Chrome and it was showing!. To show it in Chrome i just had to open the server in an incognito window.
@SolutionTuts
@SolutionTuts 2 жыл бұрын
Sir, I love your teaching style. I'm curious about the second part of Django, when it will be release.
@martynbirdem189
@martynbirdem189 2 жыл бұрын
kzbin.info/www/bejne/iWapq42Gpdahmrs Javascript tutorial easy example kzbin.info/www/bejne/rZK7n513eap4d8k
@veliamomo6561
@veliamomo6561 11 ай бұрын
thank you mosh, I got my first job by your ultimate Django course :)
@adidebnag6086
@adidebnag6086 2 жыл бұрын
Hello! I am having some trouble with the bit at 20:04, I am doing the same thing on a Windows computer, however, it does not create the new folder in the Explorer, and when I try to just run "python manage.py runserver" it returns an error. Is there any way to fix this?
@olgaivanova5930
@olgaivanova5930 2 жыл бұрын
Hey Mosh, what extension do you use to customize your terminal so that it shows the path and the git branch?
@tinabee4195
@tinabee4195 2 жыл бұрын
Your the best . I'm 14 but you have taught me 3 languages thank you ❤️
@marcoscorreia3578
@marcoscorreia3578 Жыл бұрын
This is how to show the .vscode folder: Preferences -> Settings -> Workbench -> Setting Editor -> Editor = Json
@patriciasullera345
@patriciasullera345 2 жыл бұрын
Hi, Mosh! This is a great tutorial and I've been following you the whole time but I didn't have an extra directory of .vscode with the settings.json on it. Btw, i'm on Windows 10. What might be the problem? Maybe I skipped something or what? Thanks a lot in advance!
@AtifKhan-cm8qv
@AtifKhan-cm8qv 2 жыл бұрын
same and im on mac and i followed everything aswell did you get to fix it???
@yabetsmengistu3541
@yabetsmengistu3541 2 жыл бұрын
Same here and I think it's because there is no bin directory in that path of my case
@marceloecco1044
@marceloecco1044 2 жыл бұрын
same
@yabetsmengistu3541
@yabetsmengistu3541 2 жыл бұрын
@@marceloecco1044 I don't remember how I fix it but, I think I use Script instead of bin
@marceloecco1044
@marceloecco1044 2 жыл бұрын
@@yabetsmengistu3541 yeah, aparently for windows is Script not bin idk. Mine is working and i leave as Script
@Jj-or5ix
@Jj-or5ix 2 жыл бұрын
On my windows 10 pc, the link for the virtual env that I use in vscode goes like this: C:/Users...../storefront-..../Scripts/python Its Scripts, not bin like in the video
@TailFairy1234
@TailFairy1234 2 жыл бұрын
I did this and nothing happened either, do you have any idea why?
@Jj-or5ix
@Jj-or5ix 2 жыл бұрын
@@TailFairy1234 no idea, but I got some errors and after checking the whole code four times I just moved on to the official Django tutorial and everything is working fine. There must be something wrong with the versions.
@SandraWantsCoke
@SandraWantsCoke 2 жыл бұрын
I solved it on Windows 10: If you see red text about not digitally signed, run this in the terminal. This stops working once the terminal is closed: Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass Now you can re-run this script inside the terminal and voila, you have a virtual environment set up: C:/Users/YOURUSERNAME/.virtualenvs/PROJECTNAME-_RTtHxVdW/Scripts/Activate.ps1 This is the link to your virtual environment and you can scroll up and it's at the very top of the terminal window, so you can copy paste it. Now you can python manage.py runserver and go to that URL which appears there and mine works!!! I spent so much time on this damn. Yes, python interpreter is in \Scripts\python on Windows
@user-ye4kv9ub9r
@user-ye4kv9ub9r 2 жыл бұрын
use powershell from admin, type this "Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass" then type in vscode terminal C:/Users/[USERNAME]/.virtualenvs/storefront-LbyFxQp7[use your own here]/Scripts/Activate.ps1 and it works. Sad that i have to spend so much extra time to do smth like this instead of learning django
@SandraWantsCoke
@SandraWantsCoke 2 жыл бұрын
@@user-ye4kv9ub9r Problem is, each time I open terminal I need to do that
@asheleyhenrique4928
@asheleyhenrique4928 2 жыл бұрын
This course is beeing the real course for beginners. I've not seen another course like this in my mother tongue and even in english
@narinderkaur2057
@narinderkaur2057 2 жыл бұрын
Hello mosh thank you so much i am 12 years old and i watch our 6 hour python course and today i am working on a project of google
@charlene2459
@charlene2459 9 ай бұрын
Please consider adding a new course. This feels out of date and inappropriate for Windows.
@chandraaaryal5844
@chandraaaryal5844 2 жыл бұрын
Hi Mosh! Thank you so much for the great tutorial. But at one place I got stuck. In 19:05 I could set the path for python interpreter but the .vscode directory didn't come up and I cannot see settings.json file. I am on Windows and I did exactly the same thing. I dont know what wrong did I do. I have been doing that again and again but still the .vscode directory doesnot show up. Also I quit the server using ctrl+C. Thank you so much.
@natatut
@natatut 2 жыл бұрын
I have the same issue. Did you find a solution?
@lovenoreus2804
@lovenoreus2804 2 жыл бұрын
I would like to know too!
@shortintro189
@shortintro189 2 жыл бұрын
How to fix it..? -- TypeError: fromisoformat: argument must be str in django model - python mange.py migrate
@christopherfalvey
@christopherfalvey 2 жыл бұрын
Mosh, thanks for another great effort in your tutorials, but I am having the same problem on Macintosh. I have repeated all steps as best I can, but continue to come up against the Python Interpreter issue.
@evilpollination1916
@evilpollination1916 2 жыл бұрын
Just saw the solution from another comment. For windows, instead of 'bin' use 'Scripts'. So instead of path\bin\python , it will be path\Scripts\python
@zikomaking
@zikomaking 3 ай бұрын
Your the best teacher... The way you explain things is insane
@kat_he
@kat_he 2 ай бұрын
I found your explanation about the naming inconsistencies, such as 'views' versus 'request handler,' extremely helpful. Your insights helped me integrate knowledge and connect the dots, thanks! ;)
Python Django Web Framework - Full Course for Beginners
3:45:41
freeCodeCamp.org
Рет қаралды 4,1 МЛН
Learn Django in 20 Minutes!!
21:25
Tech With Tim
Рет қаралды 268 М.
АВДА КЕДАВРАААААА😂
00:11
Romanov BY
Рет қаралды 7 МЛН
Is Coding Still Worth Learning in 2024?
9:33
Programming with Mosh
Рет қаралды 131 М.
Top Programming Languages to Learn in 2024 (For High-paying Jobs)
5:32
Programming with Mosh
Рет қаралды 154 М.
I built 10 web apps... with 10 different languages
14:23
Fireship
Рет қаралды 1,5 МЛН
Python for Beginners - Learn Python in 1 Hour
1:00:06
Programming with Mosh
Рет қаралды 16 МЛН
Python or JavaScript - Which One Should YOU Learn?
8:05
Tech With Tim
Рет қаралды 125 М.
Stop Wasting Time on the Wrong Languages
2:15
Programming with Mosh
Рет қаралды 22 М.
React Tutorial for Beginners
1:20:04
Programming with Mosh
Рет қаралды 2,4 МЛН
Python Django Explained In 8 Minutes
8:11
Dennis Ivy
Рет қаралды 240 М.