Python Django Tutorial for Beginners

Поделиться
HTML-код
  • Опубликовано: 19 июн 2024
  • Become a Django pro! 🚀 Build amazing back-ends with this beginner-friendly Python tutorial.
    🔥 Ready for a deep dive?
    - Check out my full course: mosh.link/django-course
    - Subscribe for more awesome content: goo.gl/6PYaGF
    Other resources:
    Python Tutorial for Beginners: • Python Tutorial - Pyth...
    MySQL Tutorial for Beginners: • SQL Tutorial for Begin...
    ✋ 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 тыс.

  • @programmingwithmosh
    @programmingwithmosh  2 года назад +155

    🔥Get the Ultimate Django course (zero to hero): mosh.link/django-course
    👍Subscribe for more awesome content: goo.gl/6PYaGF

    • @emmanuelrotimi806
      @emmanuelrotimi806 2 года назад +3

      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 года назад +3

      hahass

    • @sakhrnabil7
      @sakhrnabil7 2 года назад +3

      Is there a discount Voucher for students? :)

    • @_sdh
      @_sdh 2 года назад +3

      L

    • @SoberMan2001
      @SoberMan2001 2 года назад +11

      Mosh Can you please upload at least one full course for free ?

  • @JHL0L
    @JHL0L Год назад +623

    *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 Год назад +40

      You are a godsend, I literally love you

    • @Priya-oz4ib
      @Priya-oz4ib Год назад +15

      @@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 Год назад +12

      @@Priya-oz4ib yeah, everything works, just won't appear on the JSON

    • @birukabel3590
      @birukabel3590 Год назад

      Thank you sir

    • @bricolageb9398
      @bricolageb9398 Год назад +3

      but i write \bin\pyhon automaticly saved as script\python.exe so its not problem

  • @ismaildalhatu308
    @ismaildalhatu308 3 года назад +943

    I feel so secure when mosh says in this course i’ll teach you everything you need to know.

  • @phillipgilligan8168
    @phillipgilligan8168 2 года назад +383

    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 года назад +4

      Thanks, mate!

    • @arinatama5502
      @arinatama5502 2 года назад +28

      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 года назад +4

      @@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 года назад +6

    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!

  • @binitagupta6668
    @binitagupta6668 3 года назад +140

    RUclips really seems like blessing because of people like you. thank you!🥰

    • @fahadismail7430
      @fahadismail7430 2 года назад

      thank you for supporting me

    • @anshsharma494
      @anshsharma494 2 года назад +3

      @@fahadismail7430 But this comment is for Mosh🤣🤣

    • @kamal-hassan
      @kamal-hassan 2 года назад +2

      @@anshsharma494 😂😂😂

    • @anshsharma494
      @anshsharma494 2 года назад +1

      @@kamal-hassan where are you from bro

  • @ianisoprian8187
    @ianisoprian8187 Год назад +65

    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!

  • @hankanguyenova1672
    @hankanguyenova1672 Год назад +12

    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 года назад +147

    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 Год назад +46

    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

  • @composerkris2935
    @composerkris2935 7 месяцев назад +4

    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 года назад +28

    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!

    • @Pete-da-peter
      @Pete-da-peter Год назад +1

      Just check in on you, Are you a programmer now? what project have you built and are you working as SWE? 🤜🏾

  • @kirwakelvinkering3122
    @kirwakelvinkering3122 2 года назад +1

    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 👏

  • @markdinopelonia3499
    @markdinopelonia3499 3 года назад +331

    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 года назад +2

      ruclips.net/video/v4KTDqnYuwo/видео.html -- Take an image using webcam javascript
      ruclips.net/video/k9yxjfDarqQ/видео.html -- currency convertion using Javascript
      very usefull content for coding

    • @youngmingo103
      @youngmingo103 2 года назад +3

      How did you start yourself ? Any advice for someone first beginning ?

    • @fabiendu83640
      @fabiendu83640 2 года назад +4

      @@youngmingo103 he just watched videos
      he was taught through yt

    • @kind_enquirer6229
      @kind_enquirer6229 2 года назад

      Go, go, go Marky Dinoey

    • @GMPranav
      @GMPranav 2 года назад +14

      Very funny thing to say in a vid about a backend framework innit

  • @TheGrandmaster1
    @TheGrandmaster1 2 года назад +74

    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 года назад +1

      Wish you loads of luck

    • @Olasthetics
      @Olasthetics Год назад +1

      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!

  • @memeline7015
    @memeline7015 Год назад +2

    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!

  • @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

  • @petrsemenov7570
    @petrsemenov7570 3 года назад +67

    Here it comes, mates! Cheers! I’ve been waiting for it for 1,5 years!

    • @petrsemenov7570
      @petrsemenov7570 3 года назад +4

      @@programmingwithmosh I sure will! Are we expecting a longer paid course now? I really hope so! Take my money!

    • @sarithakonanki7901
      @sarithakonanki7901 3 года назад +1

      @@programmingwithmosh u already popular guru🙏❤️

  • @vdevivaraprasad3588
    @vdevivaraprasad3588 3 года назад +7

    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.

  • @banhimukherjee
    @banhimukherjee 2 года назад +3

    I was stuck at one place for quite sometime , today as a beginner could finally launch Django..Thank you Mosh, great video.

  • @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.

  • @tarunlokhande9916
    @tarunlokhande9916 3 года назад +25

    finally!!! thank you mosh... wait is over... going to learn it now

    • @QAInsights
      @QAInsights 3 года назад +4

      @@programmingwithmosh Any love for Go lang :)

    • @martynbirdem189
      @martynbirdem189 2 года назад

      ruclips.net/video/S5FzZPpqndY/видео.html Javascript tutorial easy example
      ruclips.net/video/waXnjADEEAg/видео.html

  • @dahiaturriduan
    @dahiaturriduan 3 года назад +8

    This came at the perfect time, I was about to finish the python tutorial video and this came, thanks again.

  • @adityaprabhakolay3562
    @adityaprabhakolay3562 2 года назад +4

    Also I learned a lot from your python (full course) video. It helped a lot! Thank you😊

  • @rpf23543
    @rpf23543 Год назад +1

    The first tutorial I have watched from you Mosh and I am very much impressed. Awesome! Thank you very much!

  • @theatreresponse4206
    @theatreresponse4206 3 года назад +67

    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 года назад +1

      Lol he is gone again🤣

  • @Flashxyz123
    @Flashxyz123 3 года назад +3

    thank you so much mosh you changed my life because your python course was the first one I did keep it up 👍😊

  • @halimasworld4379
    @halimasworld4379 2 года назад +7

    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.

  • @koollucian
    @koollucian 11 месяцев назад +2

    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.

  • @haokaixuan
    @haokaixuan 2 года назад +5

    I HAVE YOUR PYTHON COURSE, SO THIS WAS PRETTY EZ FOR ME, THANK YOU SO MUCH MOSH! WE LOVE YOU!

  • @robertmerritt5245
    @robertmerritt5245 2 года назад +11

    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 RUclips 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.

  • @alansnyder6565
    @alansnyder6565 2 года назад +1

    I love this course. It is much more helpful than the professor in my current class!!

  • @davidsantiagogalvan3795
    @davidsantiagogalvan3795 2 года назад +1

    Thank you a lot Mosh! I wasn't learning great Django, but I see this video, and I understand 100% Thank you very much 💯💻

  • @victorisaac8331
    @victorisaac8331 3 года назад +3

    Mosh The Legend, the man who held my hand and made me a Python programmer. You're a blessing to us all

  • @drecode198
    @drecode198 3 года назад +6

    Finally now I understand what django is. Thank you so much mosh hamedini.
    Subscribed🥳

  • @gregorylibenson488
    @gregorylibenson488 Год назад +1

    Another awesome course in a very clear English ! As always, good for you, Mosh !!!

  • @Tech_Publica
    @Tech_Publica 2 года назад +8

    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

  • @jacktembo
    @jacktembo 3 года назад +30

    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 года назад +2

      The patient dog gets to feast on the fattest bone.

    • @doomerwojak1368
      @doomerwojak1368 2 года назад +2

      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.

  • @mdnazmulh.8908
    @mdnazmulh.8908 3 года назад +10

    Finally, Django Course comes... Thank you soo much Mosh :)

    • @martynbirdem189
      @martynbirdem189 2 года назад

      ruclips.net/video/S5FzZPpqndY/видео.html Javascript tutorial easy example
      ruclips.net/video/waXnjADEEAg/видео.html

  • @js_offc8436
    @js_offc8436 2 года назад

    It's one of the best tutorials that I find on RUclips, thank you!

  • @OmerBoehm
    @OmerBoehm Год назад

    Love your videos, every word is gold.
    Perfect timing for me ;) I was just looking to get started with Django.

  • @calitts4708
    @calitts4708 3 года назад +3

    Just what I needed, later I'm gonna share with my friends, thanks!

  • @florianner9646
    @florianner9646 3 года назад +5

    This is so timely! Thank you so much for releasing this course. You're the best! 😊

  • @gerryramosftw
    @gerryramosftw 8 месяцев назад +2

    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 6 месяцев назад

      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. 😊

  • @frontrunnercars4199
    @frontrunnercars4199 2 года назад

    You're the best online tutor have ever met, Your Free courses are always fantastic and insightful. THANKS BOSS!

  • @roshanaryal310
    @roshanaryal310 3 года назад +7

    You are one of the best, Mosh❤️! Thank you for this course!!

    • @martynbirdem189
      @martynbirdem189 2 года назад

      ruclips.net/video/v4KTDqnYuwo/видео.html -- Take an image using webcam javascript
      ruclips.net/video/k9yxjfDarqQ/видео.html -- currency convertion using Javascript
      very usefull content for coding

  • @khaliphathiane584
    @khaliphathiane584 3 года назад +3

    Finally !! I will definitely take the full course ❤️

  • @mindmaster064
    @mindmaster064 2 года назад +1

    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!

  • @user-uy2ur3ui3m
    @user-uy2ur3ui3m 5 месяцев назад

    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

  • @harshvpandey101x
    @harshvpandey101x 3 года назад +6

    Dude, you're the best teacher EVER!!!

  • @litDevYT
    @litDevYT 3 года назад +6

    Never been this excited to learn

  • @lucrainville7095
    @lucrainville7095 2 года назад

    Your entities relations animation is wonderfully clear

  • @nature_love734
    @nature_love734 2 года назад +1

    The motivation before getting started, is the best way of teaching and is even easier to understand ☺️ (thank you sir )

  • @joshua970101
    @joshua970101 3 года назад +7

    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!

  • @arosh.akalanka
    @arosh.akalanka 3 года назад +9

    Thank You Mr. Mosh.
    If *Teaching* is an art, You're a *Picasso* . ❤️

    • @marflage
      @marflage 2 года назад

      It is, and he is

  • @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

  • @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

  • @priyanka1884
    @priyanka1884 3 года назад +3

    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.

  • @donwp
    @donwp 2 года назад +7

    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 года назад +1

      Hi, I would also like a clarification on Mosh's comments for templates not being used much

    • @ugochukwuchukwudifu9776
      @ugochukwuchukwudifu9776 2 года назад

      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.

  • @Healthy_Mukbangs
    @Healthy_Mukbangs 2 года назад +3

    Hope you’re well Mosh, May God bless you in all you do. So grateful for the courses on the website too

  • @EvgeniySakharov
    @EvgeniySakharov 3 месяца назад

    The beginning is impressive. That's why I signed up and liked it. Now Mosh you have a student from Russia.

  • @kvdg7502
    @kvdg7502 3 года назад +3

    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.

  • @arvindhkumar686
    @arvindhkumar686 3 года назад +2

    Your tutorials are very useful to me. Thank you for teaching.

  • @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!!

  • @107madhu
    @107madhu 2 года назад +3

    Hey@Mosh,
    Great video. what tool do you use to create the video? specially the animation part.. It looks really cool.

  • @mdnazmulh.8908
    @mdnazmulh.8908 3 года назад +8

    Again waiting for the advanced concepts... Thanks!

    • @martynbirdem189
      @martynbirdem189 2 года назад

      ruclips.net/video/S5FzZPpqndY/видео.html Javascript tutorial easy example
      ruclips.net/video/waXnjADEEAg/видео.html

  • @olgaivanova5930
    @olgaivanova5930 2 года назад +3

    Hey Mosh, what extension do you use to customize your terminal so that it shows the path and the git branch?

  • @protuscoolnetwork402
    @protuscoolnetwork402 2 года назад +2

    Hi Mosh, I am a beginner in python programming. Your tutorials are perfect. Well done man!

  • @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

  • @AmamDewan
    @AmamDewan 3 года назад +16

    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 3 года назад

      @@programmingwithmosh as always I will. Love from Bangladesh ❤️

    • @believer8754
      @believer8754 3 года назад

      @@AmamDewan hi bro can u tell me that u just learn from utube to got job or havwe any CS degree

    • @AmamDewan
      @AmamDewan 3 года назад

      @@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 3 года назад

      @@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 3 года назад

      @@believer8754 yah sure +8801521103492

  • @evergreen_5
    @evergreen_5 3 года назад +5

    By watching your RUclips 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 года назад

      ruclips.net/video/S5FzZPpqndY/видео.html Javascript tutorial easy example
      ruclips.net/video/waXnjADEEAg/видео.html

  • @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. 😉

  • @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

  • @savant7288
    @savant7288 Год назад +6

    i have a job interview in 2hours as a django developer and here i am learning django lols

  • @steviousmusic
    @steviousmusic Год назад +3

    I just want to take some time to genuinely appreciate the effort that went into this video. Thank you!

  • @kareer4genz
    @kareer4genz 11 месяцев назад

    excellent demo,literally it helped lot to learn about frameworks in backend.Thanks alot 🙌🙌❤❤

  • @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

  • @adidebnag6086
    @adidebnag6086 2 года назад +8

    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?

  • @patriciasullera345
    @patriciasullera345 2 года назад +22

    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 года назад +5

      same and im on mac and i followed everything aswell did you get to fix it???

    • @yabetsmengistu3541
      @yabetsmengistu3541 2 года назад +4

      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 года назад +4

      @@marceloecco1044 I don't remember how I fix it but, I think I use Script instead of bin

    • @marceloecco1044
      @marceloecco1044 2 года назад +5

      @@yabetsmengistu3541 yeah, aparently for windows is Script not bin idk. Mine is working and i leave as Script

  • @yevseldev
    @yevseldev 2 года назад

    The most refreshing 1 hour of my life. Thanks Mosh

  • @Armadurapersonal
    @Armadurapersonal 10 месяцев назад

    thanks, i learned django a few years ago and needed a refresher

  • @29namankumar29
    @29namankumar29 3 года назад +3

    Thank You for this course Mosh!

    • @29namankumar29
      @29namankumar29 3 года назад +1

      Mosh!! Thank you so much for gifting me a heart!!

    • @29namankumar29
      @29namankumar29 3 года назад +1

      One ❤️ from me!

  • @SolutionTuts
    @SolutionTuts 2 года назад +2

    Sir, I love your teaching style. I'm curious about the second part of Django, when it will be release.

    • @martynbirdem189
      @martynbirdem189 2 года назад

      ruclips.net/video/S5FzZPpqndY/видео.html Javascript tutorial easy example
      ruclips.net/video/waXnjADEEAg/видео.html

  • @akshaygulabrao4423
    @akshaygulabrao4423 2 года назад

    I like that you use the super big font, so that we only need half the screen for the video. Thank you!

  • @kat_he
    @kat_he 3 месяца назад

    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! ;)

  • @alexkiborgok7588
    @alexkiborgok7588 3 года назад +5

    I felt knowledgeable in django the moment I got a notification for this course.

    • @martynbirdem189
      @martynbirdem189 2 года назад

      ruclips.net/video/S5FzZPpqndY/видео.html Javascript tutorial easy example
      ruclips.net/video/waXnjADEEAg/видео.html

  • @azwadrafique7082
    @azwadrafique7082 3 года назад +4

    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 года назад +1

      Happy Birthday retroactively.

  • @danielcucvara8859
    @danielcucvara8859 2 года назад

    HI Mosh thank you very much i really apreciate you. I hope u have a wonderfull life. Because of people like you the world is a better place.

  • @ramymagdy3482
    @ramymagdy3482 2 года назад +1

    Great descriptive tutorial, keep up the good work 👍

  • @Jwdsaidy
    @Jwdsaidy 2 года назад +3

    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 года назад +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.

  • @chandraaaryal5844
    @chandraaaryal5844 2 года назад +20

    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 года назад +5

      I have the same issue. Did you find a solution?

    • @lovenoreus2804
      @lovenoreus2804 2 года назад +1

      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 года назад +1

      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

  • @customname4680
    @customname4680 2 месяца назад

    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

  • @sonolamoyo6478
    @sonolamoyo6478 2 года назад

    I really enjoyed this course's 1hr pre-amble. And have done well to put suspense at the very end...

  • @xXSebbeeXx
    @xXSebbeeXx 2 года назад +19

    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 Год назад +1

      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 Год назад +3

      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.

  • @praveenkrishnan4935
    @praveenkrishnan4935 2 года назад +7

    Mosh, will there be a Flask course in the future?

    • @martynbirdem189
      @martynbirdem189 2 года назад

      ruclips.net/video/S5FzZPpqndY/видео.html Javascript tutorial easy example
      ruclips.net/video/waXnjADEEAg/видео.html

  • @zikomaking
    @zikomaking 4 месяца назад

    Your the best teacher... The way you explain things is insane

  • @Yosirhellothere
    @Yosirhellothere 2 года назад +1

    MY LORD AND SAVIOUR MOSH! ILYSM, you are hands down the best coding RUclipsr by far

  • @Jj-or5ix
    @Jj-or5ix 2 года назад +10

    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 года назад +1

      @@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 года назад +1

      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 года назад +1

      @@user-ye4kv9ub9r Problem is, each time I open terminal I need to do that

  • @vitorsouza1470
    @vitorsouza1470 3 года назад +4

    I thought Mosh was giving a interview to genius lol

  • @veliamomo6561
    @veliamomo6561 Год назад

    thank you mosh, I got my first job by your ultimate Django course :)