Django For Beginners - Full Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ก.ย. 2024

ความคิดเห็น • 589

  • @TechWithTim
    @TechWithTim  ปีที่แล้ว +5

    Start a high paying tech career making $60k+/year with NO DEBT: coursecareers.com/a/techwithtim

  • @tawsifahmed1332
    @tawsifahmed1332 ปีที่แล้ว +29

    You are one of thos youtubers that helped me get a job. I am doing pretty well now and come back to you whenever I need a refresh on old topic. You dont know how much you have done for me

  • @romanhrobot9347
    @romanhrobot9347 2 ปีที่แล้ว +53

    I appreciate your ability to not confuse things with unnecessary additional side knowledge. I was confused and perhaps even intimidated after a course i took but you made it all crystal clear in just a few hours!
    Thank you very much Tim!
    You have amazing teaching skills. I used to be a teacher too and i have seen many.. so i know that it is a rare ability that not everyone is able to master.
    To get such quality videos for free is simply amazing for me.

  • @tapsfest23
    @tapsfest23 3 ปีที่แล้ว +49

    Just started learning django. You truly read minds.

  • @davideddington5432
    @davideddington5432 3 ปีที่แล้ว +76

    You’ve given me the confidence to start full stack developing with all of your tutorials. Thanks for everything you do. Can’t wait for the next series!

    • @buxbunnie4896
      @buxbunnie4896 2 ปีที่แล้ว +4

      1 year later, how is the trip going sir

    • @kvbc5425
      @kvbc5425 2 ปีที่แล้ว +2

      how is it

    • @youaremad1736
      @youaremad1736 2 ปีที่แล้ว +5

      @@buxbunnie4896 maybe he died

    • @davideddington5432
      @davideddington5432 2 ปีที่แล้ว +8

      ​@@buxbunnie4896 1 year later and I'm still working on the same Django project! I've been able to init, make security changes, add modules and views, and run locally to manage my index.html, now I'm trying to learn more about async Javascript Promises so I can build out the tool more robustly. Thanks for checking in, makes me feel like I'm not alone in this!

    • @davideddington5432
      @davideddington5432 2 ปีที่แล้ว +6

      @@youaremad1736 I'm not used to checking notifications because tbh this is one of the first, if not THE first, reply I've gotten on a video! Thanks for checking in, still chugging along!

  • @idk____idk6530
    @idk____idk6530 3 ปีที่แล้ว +126

    I just started learning Full-stack developement 😂 and tim is here to help me Thanks 🥺

    • @idk____idk6530
      @idk____idk6530 3 ปีที่แล้ว +3

      @Sp4rity Rip English in advance 😂😂😂😂😂😂😂😂😂😂😂😂

    • @idk____idk6530
      @idk____idk6530 3 ปีที่แล้ว +4

      @Sp4rity such a peaceful insult 😗

  • @irfan4701
    @irfan4701 3 ปีที่แล้ว +10

    tim, i must say that you are pouring your heart out for the content you provide.
    thanks

  • @kamrankerim636
    @kamrankerim636 3 ปีที่แล้ว +27

    Tim, you are amazing! I can't thank you enough. I tried other tutorials and for some reason had some issues. I was gonna give up on learning Django for this time, but then I decided to try your tutorial too, and bang! Everything is working so far!

  • @Arhan3l
    @Arhan3l 3 ปีที่แล้ว +10

    I was considering learning Django for a long time. This video is gonna help me do it finally.

  • @naco747
    @naco747 8 หลายเดือนก่อน +1

    no wonder you're over 1M subs now, these videos were pure gold, very high quality. Love the way you teach, keep it up!

  • @antekzajac8530
    @antekzajac8530 3 ปีที่แล้ว +6

    I've been learning django for a month using a django course on the Internet, I bought a book also, but I really wanted to have someone who can explain it to me. And here you are. I've watched lots of your content and I appreciate your effort. You are doing a really good job.

  • @karthikram570
    @karthikram570 2 ปีที่แล้ว +40

    Hi Tim,
    I was wondering how do you know so much about a particular framework? What is your process of learning a library or a framework? Is this through your cumulative experience or do you go through the documentation extensively? How do you suggest a beginner learn a framework?

    • @juwop6011
      @juwop6011 9 หลายเดือนก่อน

      Same good question how’s coding been since?

  • @aadarshbaral4585
    @aadarshbaral4585 2 ปีที่แล้ว +4

    I switched from Flask to Django after about 5 month playing with flask and found Django to be very easy and fun to do stuffs. So people having dilemma which framework to choose, learn one and then the other one is going to be easy and very similar.

  • @olimbeknizomov8081
    @olimbeknizomov8081 3 ปีที่แล้ว +13

    I started learning django today and Tim's video popped up

  • @aks9842
    @aks9842 ปีที่แล้ว +2

    This course actually gives you the first solid steps to start learning Django, can't thank you enough Tim for this beautiful beginners course❤

  • @pradiptahafid
    @pradiptahafid 2 ปีที่แล้ว +5

    2:45:34 never been so proud of myself of having the code works and the results are tidy. I only understand 40% of this video but it is better than nothing.

  • @tobecontinued.
    @tobecontinued. 3 ปีที่แล้ว +5

    Tim. You deserve every good fortune that comes your way. Thanks for all that you do.

  • @maelstrom57
    @maelstrom57 3 ปีที่แล้ว +11

    You're a great guy, Tim. Frameworks usually give me a hard time but you made everything crystal clear.

  • @DyslexicFucker
    @DyslexicFucker 3 ปีที่แล้ว +19

    Kite is the Raid: Shadow Legends of programming and AlgoExpert is the Honey of programming

  • @Phantastischphil
    @Phantastischphil ปีที่แล้ว +1

    Thank you for showing and telling all of the details of why you are doing the steps you are doing. This is not my first Django tutorial to attempt, but I am actually starting to understand why I am doing all the things. Thank you!!

  • @sabithahmed9284
    @sabithahmed9284 3 ปีที่แล้ว +11

    Why do I even go to University when this guy is alive

  • @robmckiernan3264
    @robmckiernan3264 2 ปีที่แล้ว +1

    Hey Tim, cheers for this. Just rinsed through this as a refresher.
    Couple of notes:
    - in your views you name the request variable `response`. Ideally it'd be `request`.
    - You shouldn't hard code your urls. Use the `{% urls %}` tag instead
    - this symbol "|" is the pipe symbol
    - Your extended UserCreationForm redefines the email field for no real reason. Better to do it like this:
    ```
    class BetterUserCreationForm(UserCreationForm):
    class Meta:
    fields = UserCreationForm.Meta.fields + ("email",)
    ```
    - In the last section you'd be better using a field lookup in your filter query, rather than using `if ls in User.todolist_set`
    Anyway, keep up the good work!

  • @JontePontePonte
    @JontePontePonte ปีที่แล้ว +4

    Once again huge thanks for your tutorials. This has been a huge help in my latest project. Hats off!

  • @geovaniraffaelli4508
    @geovaniraffaelli4508 ปีที่แล้ว +1

    I've watched a bunch of django courses and yours is definitely the clearest around, thanks man!

  • @David-ku7mt
    @David-ku7mt ปีที่แล้ว +1

    Thank you very much for the tutorial, the first 20 minutes were a little rough due to the different issues that came up with python \ django \ path, but I managed to resolve these and now I am delved into knowledge.

  • @b.1851
    @b.1851 3 ปีที่แล้ว +3

    tim you are the man. keep up the content. positive energy and good vibes your way

  • @tolyacow
    @tolyacow 3 ปีที่แล้ว +1

    Wow, thanks!
    Another one of "I just started doing full-stack and was in tremendous need of a basic tutorial in django" comments. You saved me!

  • @AdilAli-lo7dq
    @AdilAli-lo7dq 3 ปีที่แล้ว +7

    Just started a Django tutorial yesterday then I see this lol. Tim got his eyes everywhere

  • @chillerinthehouse
    @chillerinthehouse 3 ปีที่แล้ว +2

    fantastic tutorial with links to troubleshoot issues so you can start off without any frustrations. going through a bootcamp right now and we are beginning with django next week. this tutorial is amazing. thanks

  • @randomfilms332
    @randomfilms332 2 ปีที่แล้ว

    I searched alot of django tutorial, but this is the tutorial where I understand the most!

  • @rafastepien4058
    @rafastepien4058 3 ปีที่แล้ว +1

    Oh man, so much appreciated. I have seen Your tutorials about Python, and I'm impressed. Eloquently condensed lessons, without trying to buy people like Qazam from clever programmer. Thanks mate.

    • @yazfeatz
      @yazfeatz 3 ปีที่แล้ว

      Qazi??

  • @gatjuatwicteatriek4590
    @gatjuatwicteatriek4590 ปีที่แล้ว

    I wish I got this channel before, I wasted a lot of time learning from fake platforms which don’t give content like this. Thank you so much

  • @JanusAlmight
    @JanusAlmight ปีที่แล้ว

    thank you very much for having subtitles in your videos, I'm Brazilian and I don't have a enough english to understand when I only listen.

  • @abulaman8713
    @abulaman8713 3 ปีที่แล้ว +8

    Never been this early, love your videos, you are the best

  • @patrickbarker3661
    @patrickbarker3661 5 หลายเดือนก่อน

    Tim is quite literally the man. Thank you!

  • @someone4860
    @someone4860 2 ปีที่แล้ว

    I have a huge respect for you. You managed to do lots of stoff at the same time.
    I became your linkedin follower as well.

  • @sahilsagwekar
    @sahilsagwekar 2 ปีที่แล้ว

    Coming from Flask, the Django documentation (even though it's pretty clean & simple) is a bit overwhelming, Your video just made my day 100x easier.

  • @bingusspaceprogram
    @bingusspaceprogram 2 ปีที่แล้ว +4

    If you're having problems creating a new project, then instead of doing what Tim did at 4:40, this command should create a new project without any issues:
    python -m django startproject (name here)
    However, you cannot have "temp" in the file name or it will give you an error.

  • @dillonhicks3781
    @dillonhicks3781 3 ปีที่แล้ว

    I enjoy Tim’s channel because he’s transparent, he likes algo expert and he’s clear he works there now too. Little things man

  • @RavenTech1
    @RavenTech1 ปีที่แล้ว +1

    I'm 1 hour in and i have to say that you made your explanations very clear and i'm enjoying learning from this video

  • @cozytamim9794
    @cozytamim9794 3 ปีที่แล้ว

    I just started learning Django and Your video got recommended to me (MAGIC)

  • @DioD3
    @DioD3 2 ปีที่แล้ว +2

    Just finished the entire tutorial. It's great! Thanks Tim.

  • @_Ani_
    @_Ani_ ปีที่แล้ว

    This was immensely helpful - just got started with my first web application with Django!

  • @saathvikful
    @saathvikful 3 ปีที่แล้ว +7

    Perfectly explained and easily one of the best tutorials by far!

  • @DjangoGroen
    @DjangoGroen 2 ปีที่แล้ว

    i love that you guys are trying to understand me. thanks!

  • @nakhan69
    @nakhan69 2 ปีที่แล้ว +2

    Thank you Tim, I wish one day I will be a good programmer like you

  • @dhiarajebziri9009
    @dhiarajebziri9009 2 ปีที่แล้ว +1

    thank you

  • @saintqirex3655
    @saintqirex3655 3 ปีที่แล้ว

    I'm a computer science student I'm in my third year now and what we've learnt fortran, pascal, cobol, basic and..... machine language this page solos my four years in this place

  • @iboydagi246
    @iboydagi246 2 ปีที่แล้ว +1

    😃Good I learn so many things from you tnx bro😜
    like
    :- Socket programming
    :- Pygame
    :- python OOP
    .
    .
    .

    • @bollvigblack
      @bollvigblack 7 หลายเดือนก่อน

      are u an NPC ? why are you Laughing ? i have friends who have similar communication patterns and they are like NPCs

  • @xucxichuc325
    @xucxichuc325 3 ปีที่แล้ว +1

    I love you Tim. You've saved my life.

  • @captaincrunch7481
    @captaincrunch7481 3 ปีที่แล้ว

    This is the best resource to begin learning full-stack with.

  • @universodoclp
    @universodoclp 2 ปีที่แล้ว

    Tim You're the best. The best Django tutorial step by step. Great Job!!!

  • @brandonnoll5527
    @brandonnoll5527 3 ปีที่แล้ว

    This is the best Django tutorial on TH-cam

  • @alensebastian4677
    @alensebastian4677 3 ปีที่แล้ว +1

    1:03:00
    just pretend like that.... lol, made me laugh harder🤣🤣. anyway, I went through your video super helpful! thank you, Tim

  • @Cloud-tq5lj
    @Cloud-tq5lj 3 ปีที่แล้ว +3

    You're the only youtuber who can explain programming perfectly!

  • @ironrose6
    @ironrose6 3 ปีที่แล้ว +15

    Amazing, Tim! Thank you! I've been out of the game for a while but I used your Python in ~75 minutes video to give myself a refresher, and now that I've followed along with this django video, I have a request: would you be open to doing a series like your previous django + react series but with Vue instead? Great channel, great content; thanks!

  • @TraceyMwendwa
    @TraceyMwendwa 9 หลายเดือนก่อน +1

    Great video, Tim!
    I have a question; do I need to have a virtual environment installed in order to use Django? If so, is there a video, you have done on how to do so?

    • @basseygodwin7384
      @basseygodwin7384 9 หลายเดือนก่อน

      Yeah it is best practice to use a virtual environment.
      You can Google "How to setup a virtual environment for Django"

  • @samimezghani8385
    @samimezghani8385 3 ปีที่แล้ว +2

    for those who found and issue in grouping checkboxes with the input fiels in the add bootstrap section, Bootstrap latest version has dropped the input-group-prepend and input-group-append classes you can group directly with a div input-group then input-group-text for the checkbox and the input field

    • @michaill5353
      @michaill5353 3 ปีที่แล้ว

      Can you explain this a little more? I'm not sure how to do what he does with the new syntaxis.

    • @flaviusteodorof2601
      @flaviusteodorof2601 2 ปีที่แล้ว

      Ah, thank you kind sir. This is what I was looking for in the comments.

    • @flaviusteodorof2601
      @flaviusteodorof2601 2 ปีที่แล้ว +1

      @@michaill5353 Tim used a div with the class input-group-prepend, and using it will likely return a funky look. Delete that div and only use the other 2.

    • @bonemanx1
      @bonemanx1 2 ปีที่แล้ว

      This helped a lot

  • @SnoopLobster
    @SnoopLobster 3 ปีที่แล้ว +1

    reached the end of the video after a few days. looking forward to that deployment video, Tim

  • @festussibanda5886
    @festussibanda5886 2 ปีที่แล้ว +2

    i like your teaching skills, please make the tutorial on how to deploy too, i'm really eager to learn how to deploy my django projects

  • @dimitrispetrakis2599
    @dimitrispetrakis2599 3 ปีที่แล้ว

    Best vid on YT for django by far

  • @vu5700
    @vu5700 2 ปีที่แล้ว +1

    Good stuff

  • @sidecontrolpapi
    @sidecontrolpapi 3 ปีที่แล้ว

    Being waiting for a while on an update of your old django series, thanks a lot Tim.

  • @leftysomething
    @leftysomething 2 ปีที่แล้ว

    been rewinding this and rewinding this to understand django.... finally got this guy on .75% speed😁😁😁 LOL much better

    • @leftysomething
      @leftysomething 2 ปีที่แล้ว

      Finally FINISH the tutorial!! thank you so much!!

  • @monicacolling2399
    @monicacolling2399 2 ปีที่แล้ว +2

    I went through the corrections for the no attribute error you fixed at the end and made sure to do everything you did. I did the migrations after making the changes, and go a message that there was nothing to migrate. Yes, I saved before running makemigration. I'm getting this error
    'AnonymousUser' object has no attribute 'todolist'

  • @jessielindayao0423
    @jessielindayao0423 2 ปีที่แล้ว

    Amazing! Your video is really great Tim. I like the way how you explain what's happening by coding a little and then executing the code. Thanks!

  • @mdsohrabakhtaremam9555
    @mdsohrabakhtaremam9555 2 ปีที่แล้ว

    Yes make video on beautiful website along with deployment it on server.
    Your videos are really interesting and clear and understable

  • @ToasterWhisperer
    @ToasterWhisperer 3 ปีที่แล้ว +1

    Thank you so much Tim, you're videos are incredible.

  • @captaincrunch7481
    @captaincrunch7481 3 ปีที่แล้ว +1

    Also, thanks for not editing out moments where you have bugs. It really helped me to understand how you problem solve!

  • @thedupy124
    @thedupy124 3 ปีที่แล้ว +3

    This tutorial is amazing, thank you !

  • @씹선비-g6w
    @씹선비-g6w 3 ปีที่แล้ว

    I'm watching this video in Korea. Thank you bruh!

  • @asdgqgqwe
    @asdgqgqwe 3 ปีที่แล้ว +1

    Thank you, Tim! Helped me a lot!
    By the way, you run into an issue when you use brackets because then it expects you to actually pass parameters. So if you don't pass parameters you do not ut the brackets.

  • @migueldev6089
    @migueldev6089 3 ปีที่แล้ว +3

    I come here for the title, but I don't have idea that it would be in English. However I'm learning. And try to improve my English listening... Haha

  • @rohitbhapkar4352
    @rohitbhapkar4352 3 ปีที่แล้ว

    Thank You bro Love you man Was struggling a lot due to a stupid error ..that just got resolved Love you 3000...

  • @duraidadnan7735
    @duraidadnan7735 3 ปีที่แล้ว +2

    Thank you, Tim, you're a very helpful person, pls don't care for those 37, it's my first interaction with python and English isn't my first language but you make it very easy to understand and you talk slowly and carefully, so excited to see the rest of your videos, keep the hard work.

  • @Yuyupinkk
    @Yuyupinkk 6 หลายเดือนก่อน

    Thank you verry much for this great tutorial,I have learn so much from you👍🇳🇱 Iam from Holland

  • @Child0ne
    @Child0ne 2 ปีที่แล้ว

    Tim of COurrrseee you have the perfec django video i was looking for lol you are such a beast

  • @nerdvananc
    @nerdvananc 3 ปีที่แล้ว +4

    Hey Tim, thanks so much for these awesome videos; you've been helping me a ton.

  • @typeterson8376
    @typeterson8376 3 ปีที่แล้ว +2

    For those having troubles with the pip install, I went to his video on how to fix this and when you add the new path, in his video he types in "Python36" at the end and it didn't work at first because I followed that but I checked my path and it turned out mine was under "Python39". So just make sure to check your own path so you type in the correct pathing and then it should work.

    • @typeterson8376
      @typeterson8376 3 ปีที่แล้ว

      also if the runserver thing gives you issues, go to settings and search manage app execution aliases. If there is both python.exe and python3.exe, uncheck python.exe and try again.

  • @zaeltrus
    @zaeltrus ปีที่แล้ว

    It's a bit sad how I pay 15 000 GBP for my university and you explain everything much more clearly, interactively and intuitively for free. Blows my mind. Thank you so much!

    • @alexandreabashia
      @alexandreabashia 7 หลายเดือนก่อน

      university is not for education

  • @leonvanzyl
    @leonvanzyl 3 ปีที่แล้ว

    This series is going to be extremely popular

  • @matheuselyasha
    @matheuselyasha 3 ปีที่แล้ว +3

    Very good content but maybe it is better to use views with request as input instead of response.
    def view(request):
    return render(request, 'template.html')

    • @pullrequest1296
      @pullrequest1296 2 ปีที่แล้ว

      exactly you are right.
      It does not make a difference for the server, but this can be very confusing for us dj beginner.

  • @manasask821
    @manasask821 2 ปีที่แล้ว

    this course is a real blessing!

  • @AhmadAli-wt8zy
    @AhmadAli-wt8zy 3 ปีที่แล้ว +1

    Tim There is A lot of beginners courses out there make advance course so it well be great. Thanks for this course too🤗🤗🤗

  • @bavan1358
    @bavan1358 3 ปีที่แล้ว +2

    There are quite a lot of mistakes which are not fixed on screen , please do check it . I had a hard time figuring it out , but eventually i got it

  • @thecodingchallengeshow
    @thecodingchallengeshow 8 หลายเดือนก่อน

    just starting out, hopefully it is very good!

  • @roi1044
    @roi1044 3 ปีที่แล้ว

    Wow i just started learning django and this popped. Thank you Tim!

  • @developmentpersecond4027
    @developmentpersecond4027 9 หลายเดือนก่อน +1

    Does anyone know how to get error messages to appear in a Django project? for example if I have the line "Create New" the webpage will still render for me even though "success" is misspelled, but just without a bit of the styling. This is similar to @TechWithTim still having the webpage render but misspelled "justify". Shouldnt there be a way for the compiler to catch this error? Im using VS code

  • @oj43085
    @oj43085 3 ปีที่แล้ว

    The way you teach is so helpful.

  • @Psychetwo
    @Psychetwo 2 ปีที่แล้ว

    This is a very great tutorial! Been watching and rewatching this. As a beginner, I keep catching something that I missed from the previous rewatch.

  • @m.tuladharreddy8234
    @m.tuladharreddy8234 3 ปีที่แล้ว

    I too learned full-stack development. this helped me a lot thanks

  • @clearcodee_
    @clearcodee_ ปีที่แล้ว

    You're awesome Tim!

  • @tasfiulhedayet
    @tasfiulhedayet 3 ปีที่แล้ว +1

    This video is really effective. Thank you for this amazing one.

  • @shreyanshughosh7241
    @shreyanshughosh7241 3 ปีที่แล้ว

    Hmm...okay....so this is something which I was searching for.
    Thanx Tim😁😁
    Love from India❤

  • @Khalidka94
    @Khalidka94 3 ปีที่แล้ว

    This is what i was waiting for, well done tim...

  • @bhookhakela
    @bhookhakela 3 หลายเดือนก่อน +2

    Logout GET method has been depreciated in Django5

  • @akshitbhalla874
    @akshitbhalla874 2 ปีที่แล้ว

    Thanks. Straight to the point.

  • @thrillonek
    @thrillonek 2 ปีที่แล้ว

    Thank you Tim! Btw someone should create the "essentially" counter

  • @omegaroyal
    @omegaroyal ปีที่แล้ว

    I love this guy! Seriously good explanations. Subscribed, liked and commented. Thank you!

  • @7PolarBears
    @7PolarBears 3 ปีที่แล้ว +1

    love these vids Tim mate