Python Django Web Framework - Full Course for Beginners

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

ความคิดเห็น • 1.8K

  • @АнтонКожанов-в5д
    @АнтонКожанов-в5д 4 ปีที่แล้ว +1515

    1:15 Installing. Virtual environment
    18:54 Set up code text editor
    22:27 Django settings
    29:48 Built-In components
    46:22 New model fields
    59:27 Custom homepage
    1:04:08 URL routing
    1:16:50 Django templating engine basics
    1:23:59 Include template tag
    1:49:09 Render data from the database with a model
    2:06:50 Django model forms
    2:35:33 Form widgets
    2:41:29 Form validation methods
    2:48:59 Initial values for forms
    2:51:44 dynamic URL routing
    3:00:00 Dynamic linking of URLs
    3:03:10 In app URLs and Namespacing
    3:15:42 Class based views - CreateView

  • @chicoze2
    @chicoze2 ปีที่แล้ว +32

    I often look in the comments before watching a big video like this to not loose time.. if you are doing this, you just find THE VIDEO!!

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

      Should I give it a watch? In his video, he's working with Django 2.0, but the most latest version is 4.0. Let me know quickly-I'm waiting.

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

      ​@@JackDaniels08 For me, this video helped to get the concepts about how a Django project is structured, so it kinda worth it

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

    If you are seeing error on section 8 like so: Operation Error No such table: main.auth_user__old
    then do this in powershell or terminal
    first used: pip install --upgrade django==2.1.5
    Then I used python manage.py makemigrations
    then python manage.py migrate
    Then I used python manage.py runserver
    Worked like a charm,

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

      @@grabacionesfiuba8529 welcome, and I am a girl :)

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

      @@grabacionesfiuba8529 No worries.:)

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

      I wish I hadn't spent 2 hours before solving it prior to finding this comment : )). Your comm should be right under the first guy with 1.2k+ likes.

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

      MVP

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

    Looking for Django Unchained. Ended up becoming a programmer. Thanks TH-cam.
    Jokes aside, great video thank you very much :)

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

      I don't understand . Why isn't he explaining stuff. What is he doing. Why doesn't he tell what migrate does. And 100 things that he do. Will he explain later. If so why doesn't he say that he will explain later. It feels like that I should know what migrate is and other stuff that he just casually types there

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

      @@nabbikill I have a good amount of experience with Python. Bad day maybe. Exhaustion from staying home all this time. I want to go out ,eat a pizza , go to mall and do some swimming . I am going crazy lol.

    • @11hamma
      @11hamma 4 ปีที่แล้ว +20

      @@siddharthbisht8522 lockdown is getting u fam

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

      @@11hamma its getting all of us😞

    • @11hamma
      @11hamma 4 ปีที่แล้ว +1

      @@claw1479 truuuee 😔😔

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

    I can't thank you enough for this tutorial, Django has been a thorn in my side for so long i was beginning to think i was never going to understand it, easy to understand, methodical and easily digestible. love it

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

    I was looking for a course of "Django" for developers where you don't want to waste so many hours in so basic things such as understanding MVC, how a web system works, ORM, instead I wanted to know the fundamentals of the framework and I have enjoyed so much this, I came from so many years as Java developer and I wanted to buy Python since has gained so much terrain and this guy sell it tome so dam well, thanks for your material man! it's really appreciated.

  • @usoppgostoso
    @usoppgostoso ปีที่แล้ว +162

    If you're watching this 2023, you can use more recent versions of Django, that's what I did, I had no problemas at all.

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

      Thanks bro

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

      Thanks bro 🙏

    • @kabrownie
      @kabrownie 6 หลายเดือนก่อน +4

      2024

    • @SahilVanarse-n4x
      @SahilVanarse-n4x 5 หลายเดือนก่อน +4

      Is this a complete django course ?? Can I start this ??

    • @kaktusinisfx
      @kaktusinisfx 2 หลายเดือนก่อน

      😊❤😂
      ​@@ehsankalateh6785.

  • @18.michaelmaramag89
    @18.michaelmaramag89 3 ปีที่แล้ว +15

    I am giving this man a hands down 🙌 for standing 4 hours just teach us guys..

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

    I met this guy in real life once, super cool dude! Glad to see him succeeding big time! 👍

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

      wat? in real life? were?

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

      @@prettycode4028 janitor at his university

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

      @@rabeast1991 you must be kidding me

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

      @@divancode3725 😂😂😂😂

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

      @Saketh p ?

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

    This is outstanding. Reading some of the comments people say it's too fast paced...but I love its pace! It has taken me about 10 hours to the 3 hour mark because I have to pause, rewind, pause, etc... to figure out why my stuff doesn't match his. But I KNOW so much more about the what and why than if it was just follow along and he explained every little detail every time. I can wait to binge more of his videos!

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

    This has got to be one of the greatest channels on all of TH-cam, plain and simple.

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

    so far , this is the best tutorial for django for absolute begginers , this is even better than paid courses i purchased , thank you man

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

    Actually im on a 3 month full-stack developer course and it is super intensive. This course helping me to learn fundamentals of django with a way i dont think i will forget. Thank you so much lecturer and freeCodeCamp for this great course.

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

    Awesome tutorial. But in the second half, multiple ways were explained to do the same thing like using Forms in Django. We try the previous method and when we try to actually figure out that, all of a sudden we are told that it's not a good way to follow that method. Then we have to learn the new method and it's confusing most of the time. If that way of explaining some steps was avoided this video could have been shorter and much cleaner than this. Anyway, apart from that this is the best Django tutorial on TH-cam.

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

    One of the best tutorials on a specific programming topic I ever saw and used. For programmers in hurry, it is at the right pace, depth and width. Many thanks, really great work!

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

      mhen, you couldn't have said it any better... Great for beginners

  • @kcseanbrixd.calinao6700
    @kcseanbrixd.calinao6700 2 ปีที่แล้ว +25

    for anyone having a problem with the setup not working.. it might be because of the version..
    currently the latest python doesn't support django 2.0.7.... you can either downgrade ur python ver or raise django version.. i had a hard time figuring this one out and so i wanted to help out.

    • @demiurgerenz
      @demiurgerenz 8 หลายเดือนก่อน +2

      Thanks a lot. i almost ran mad here.😂😂😂😂😂😂

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

    Ehy Ehy Ehy, this video is a gem. Already one hour into it and gave me more than all other tutorials I followed(three). This guy got real talent on explaining , the fact that repeat concept over and over and make yourself delete/change the directories all the time ,make the concept going deep into my brain and eventually everything clicks. Great!!!

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

    At the start I was really annoyed how detailed you explain everything because I already tested django a bit. But going further and further I got more thankful and more thankful that you explain everything that detailed. You are doing a great job!

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

      What is the name of this tutor

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

    I Dont usually write youtube comments, but for this one I have to. Amazing tutorial. Read a lot of tutorials before watching this video and almost gave up on installation. You explained every concept very well throughout the whole video. AMAZING! I am halfway through, need to pause the video every 20 sec to understand it fully. Appreciate the tutorial a lot.

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

    1. Create a Blank Django Project 14:40
    2. Setup your Code Text Editor 18:54
    3. Settings 22:26
    4. Built-In Components 29:47
    5. Your First App Component 33:57
    6 . Create Product Objects in the Python Shell 42:34
    7. New Model Fields 46:18
    8. Change a Model 52:52
    9. Default Homepage to Custom Homepage 59:27
    10. URL Routing and Requests 1:04:47
    11. Django Templates 1:10:22
    12. Django Templating Engine Basics 1:16:49
    13. Include Template Tag 1:23:59
    14. Rendering Context in a Template 1:26:51
    15. For Loop in a Template 1:33:21
    16. Using Conditions in a Template 1:37:01
    17. Template Tags and Filters 1:42:16
    18. Render Data from the Database with a Model 1:49:07
    19. How Django Templates Load with Apps 1:59:55
    20. Django Model Forms 2:06:50
    21. Raw HTML Form 2:14:17
    22. Pure Django Form 2:25:33
    23. Form Widgets 2:35:31
    24. Form Validation Methods 2:41:29
    25. Initial Values for Forms 2:48:59

  • @CHRISTOPHE-dc7ve
    @CHRISTOPHE-dc7ve 3 ปีที่แล้ว

    I took many django courses without totally understanding what I was doing and learning but now I understood everything. I thank god for your existance

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

    1:32:25 "It's not a bug, it's a feature."
    Sadly this line did not work on my professor...

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

      Lol

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

      The Python dict string uses single quotation marks, and JSON enforces double quotation marks.
      We should use ' ' single quotes instead of double quotes !

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

      silicon valley

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

      @@bsBakchodi does not work

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

    hey man. i just want to say i greatly appreciate this tutorial. i was struggling for hours trying to even get django started and write a simple "hello world" application but kept running into problems and after about 10 hours i finally stumbled on your video and you solved all my issues perfectly. thank u so much man.

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

    Kudos, this is one of the best tutorials I've ever followed. Doesn't waste time on trivial stuff and explains everything perfectly. 10/10

    • @svdfxd
      @svdfxd 4 ปีที่แล้ว

      which Django version did you install

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

      @@svdfxd me 3.0.4

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

    Got a new job where I need to use Django. Already quit my last job. Only got a couple of days to get either relatively good at it, or jobless... and found this gem. Can't thank you enough.

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

      So how did it go? Did this video get you the knowledge you needed.? If so how long did it take you?

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

    django is quite the framework! its a little headache that turns into blissful experience once you understand the concepts

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

      Do you use Pycharm to learn Django?
      In this video, it's all about Sublime Text and CMD

    • @RoylanMartinez
      @RoylanMartinez 5 ปีที่แล้ว

      @@hunggamerofficial3252 I use pycharm

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

      @@RoylanMartinez
      So do you know how i can use Django in Pycharm????

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

      @@hunggamerofficial3252yeah, Django in Pycharm is pretty useful. It's almost the same always. I have been combining some videos with the oficial documentation. Anyway the best way to learn it is by practicing it.

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

      What about anaconda ?

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

    thanks! i'm PHP native devs, after watching your videos, i understand the basic "logic" of Django, not that far from PHP just like PHP without bracket and close tag, but when it comes into templating surprisingly i can understand well because it's just like PHP

  • @Slide-Board
    @Slide-Board 5 ปีที่แล้ว +9

    btw its in the description
    ⭐️Course Contents ⭐️
    ⌨️ (0:00:00) 1 - Welcome
    ⌨️ (0:01:14) 2 - Installing to Get Started
    ⌨️ (0:05:02) 3 - Setup your Virtual Environment for Django
    ⌨️ (0:14:39) 4 - Create a Blank Django Project
    ⌨️ (0:18:54) 5 - Setup Your Code Text Editor
    ⌨️ (0:22:27) 6 - Settings
    ⌨️ (0:29:58) 7 - Built-In Components
    ⌨️ (0:33:57) 8 - Your First App Component
    ⌨️ (0:42:34) 9 - Create Product Objects in the Python Shell
    ⌨️ (0:46:18) 10 - New Model Fields
    ⌨️ (0:52:52) 11 - Change a Model
    ⌨️ (0:59:27) 12 - Default Homepage to Custom Homepage
    ⌨️ (1:04:48) 13 - URL Routing and Requests
    ⌨️ (1:10:23) 14 - Django Templates
    ⌨️ (1:16:50) 15 - Django Templating Engine Basics
    ⌨️ (1:24:00) 16 - Include Template Tag
    ⌨️ (1:26:49) 17 - Rendering Context in a Template
    ⌨️ (1:33:21) 18 - For Loop in a Template
    ⌨️ (1:37:01) 19 - Using Conditions in a Template
    ⌨️ (1:42:17) 20 - Template Tags and Filters
    ⌨️ (1:48:59) 21 - Render Data from the Database with a Model
    ⌨️ (1:59:55) 22 - How Django Templates Load with Apps
    ⌨️ (2:06:50) 23 - Django Model Forms
    ⌨️ (2:14:16) 24 - Raw HTML Form
    ⌨️ (2:25:33) 25 - Pure Django Form
    ⌨️ (2:35:30) 26 - Form Widgets
    ⌨️ (2:41:29) 27 - Form Validation Methods
    ⌨️ (2:48:59) 28 - Initial Values for Forms
    ⌨️ (2:51:42) 29 - Dynamic URL Routing
    ⌨️ (2:54:26) 30 - Handle DoesNotExist
    ⌨️ (2:56:24) 31 - Delete and Confirm
    ⌨️ (2:58:24) 32 - View of a List of Database Objects
    ⌨️ (3:00:00) 33 - Dynamic Linking of URLs
    ⌨️ (3:01:17) 34 - Django URLs Reverse
    ⌨️ (3:03:10) 35 - In App URLs and Namespacing
    ⌨️ (3:07:35) 36 - Class Based Views - ListView
    ⌨️ (3:10:45) 37 - Class Based Views - DetailView
    ⌨️ (3:15:38) 38 - Class Based Views - CreateView and UpdateView
    ⌨️ (3:21:23) 39 - Class Based Views - DeleteView
    ⌨️ (3:24:02) 40 - Function Based View to Class Based View
    ⌨️ (3:27:15) 41 - Raw Detail Class Based View
    ⌨️ (3:30:31) 42 - Raw List Class Based View
    ⌨️ (3:33:32) 43 - Raw Create Class Based View
    ⌨️ (3:26:03) 44 - Form Validation on a Post Method
    ⌨️ (3:37:58) 45 - Raw Update Class Based View
    ⌨️ (3:41:13) 46 - Raw Delete Class Based View
    ⌨️ (3:42:17) 47 - Custom Mixin for Class Based Views

  • @Nathan-zc1qs
    @Nathan-zc1qs 2 ปีที่แล้ว

    ok he a life saver i watched one vid of an indian guy he completely confused me when i came to him i understood alot am not lost am following steadly God bless u and am not done with the course yet i started 2day

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

    1:12:15 I thought you just shut down and went into recovery mode. Awesome tut dude, thank you!

  • @olliewelsh123
    @olliewelsh123 4 ปีที่แล้ว

    only been doing django for 3 or 4 months now. just discovered the right click 'go to definition' feature. oh my days my world has been changed now. great video thanks

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

    The very first useful channel that I found when I was starting Django last year. 👌

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

    I'm 14 years old programmer in myanmar.
    Thank you for this tutorials

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

    Coronavirus is a blessing in disguise since I have free time to learn this.

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

      BrightCode Me too 🙂

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

      same bro

    • @tbp4590
      @tbp4590 4 ปีที่แล้ว

      100% utilise the time!

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

      Because you and some others get extra time or time to build up their skill does not mean it is a blessing for everyone.

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

      @@prosunsett3045 He states that it is a blessing for him not for everyone, pipe down boi!

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

    He is so good of a computer techie/programmer that he barely looks into his keyboard while typing codes and knows a lot of coding shortcuts.

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

    I love this guy, clear English speaking, well prepare materials as well as clean chapter arrangement. Very helpful video. Thank you so much!

  • @brumarul7481
    @brumarul7481 5 ปีที่แล้ว

    I like that you actually teach :)
    Not just copy-paste the whole template and BOOM, you've created a website

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

    Greetings from Angola ( Africa ) thanks a lot

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

      I want to go to wakanda

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

    After some kindof struggle and and working around, I finally finish the 4-hour crash course about django, I have to say I only know the most superficial surface of all that part, the next part is html and css and javascript, and there is still a lot more stuffs in this world, I have to say, a good teacher is really valuabl, and actually the most valuable thing is that your ability to learn no matter how hard it seems to be at the beginning, in the end, everything will continuely become easier and easier.

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

    watched for one and a half hour, I like this tutorial a lot. I tried to learn Django and bootstrap before learning these basic concepts, it was very hard for me to understand. Now I can understand a lot. Thanks.

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

    For anyone who receives an error when running djago-admin startproject I installed the latest version of Django (4.0.3) and it fixed the issue.

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

    i think this tutorial overcomplicates the process of installing django and starting a new project. for a beginner it is absolutely necessary to just start with the very basics yet here we are introduced to the intricacies of the virtual env.

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

      I actually think its fine, because if you are going to learn django virtual environments are something that is really important. Especially if you want to deploy your website on something like heroku. So getting used to it from the start is very useful.

    • @Sebastian-69420
      @Sebastian-69420 3 ปีที่แล้ว +1

      I dont think he explained why one should have a virtualenv.. Can someone explain this to me, please? I only heard him saying: "So that we all start from the same place" or something..

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

      @@Sebastian-69420 Here's an example.
      Lets say you're using a library. You start developing your application using this version. Lets say 2 months from now, a new version drops with better features, more functionality, etc and you want to use it. So you update it. However, this new version may have changed certain core functionalities and now your app doesn't work, since it uses features from a prior version that no longer exist. If you use a venv, you can have one venv with the old version that you can still use for development and another venv with the newer version.
      Another reason to create venvs is when you install libraries that depend on various other libraries, ex: pytorch, tensorflow, so that there are no dependancy conflicts.
      That's why the best practice is to leave python as is once installed and create a venv for every project.

    • @Sebastian-69420
      @Sebastian-69420 3 ปีที่แล้ว

      @@pchandrasekaran1595 thanks! Good explanation :)

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

    Yeah course is outdated but still 95% stuffs are same...and guys trust me this dude got the real stuffs that you need to know about django.
    i have seen lots of django course but they didn't cover many important stuffs but this guy covered those all :D

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

    Took me a few retries but I finally finished this walkthrough. This course felt a bit rough around the edges, but I think that was mainly an issue of speed; with the course set to 0.75x playback speed I found that very manageable. I wish the course were organized just a tad bit different, I generally prioritize a certain kind of logical progression over the speed to running code. It is one of those things where I just want slightly different things out of a course, so I put the onus on myself to make a tutorial that is more my style. This guy did a great job and I think succinctly achieved his objective of compacting an introductory django course into 4 hours of content. I'm just a django in 14 hours kind of gal. ;)
    If you're thankful and you know it, let ads run! Thanks FCC! Happy coding everyone!

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

      And here i was watching in 1.75x 😐

    • @MasterMathematicswithMatthias
      @MasterMathematicswithMatthias 10 หลายเดือนก่อน

      when i don't understand somewhere, i just stop and go to the tutorial or ask chatgpt.

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

    For anyone that doesn't already have python3 installed, when you get to the point of pip installing django, if it sends an error saying it can only find 1.whatever versions of django, just use pip3 install django==2.0.7 . This will ensure that a python3 compatible version of django is installed.
    If you're on mac and dont have pip3 just, brew install pip3.

    • @knucklehead99-z1w
      @knucklehead99-z1w 5 ปีที่แล้ว

      Perfect. Works like a charm on Linux Mint 19.1 (Tessa). Thank you for that!

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

    He is the best programming teacher I have ever seen in my entire life!!!

  • @lalo92-8
    @lalo92-8 หลายเดือนก่อน +11

    Fell asleep and woke up here

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

      Yessssss😂😂😂😂😂😂

    • @carlosrios1716
      @carlosrios1716 3 วันที่ผ่านมา

      Yep same here

    • @antonymahendra5477
      @antonymahendra5477 3 วันที่ผ่านมา

      Same with me

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

    i never ever comment on tutorial videos...u made me to do. u rocks bro...the way u explaining was good and clean...

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

    Thanks for the videos. Have a question. In video 28 - Initial Values for Forms 2:48:59, you begin talking about render_initial_data. Unless I missed something, this topic was jumped into without providing a transition from the previous video 27 - Form Validation Methods 2:41:29. Video 28, products->views.py starts out with only one function - render_initial_data. What happened to product_create_view and product_detail_view functions that were in video 27.

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

      comment def product_create_view from views, then update urls.py (replace product_create_view with render_initial_data)

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

    SO GREAT GUYS - we gained SO MUCH - thank you - we loved the 'big video' idea - we chipped away at your 4hrs over 2 days and love it!

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

    Awesome vid man! About halfway through it and am already beginning to utilise all the concepts and techniques from your video in my own projects!

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

    OMG, this is the best video I've seen explaining Django, in fact I am creating my own blog based on this video! thank you so much

  • @alexander.belyakov
    @alexander.belyakov 4 ปีที่แล้ว +9

    There's a stark difference between the first two hours and the rest of the video. The first two hours are well-explained and logically structured. Somewhere around the two-hour mark chaos begins. Something is being done on the screen, and while I was able to repeat this stuff, I lost all understanding of the underlying logic and structure.

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

      doing some stuff then deleating some just for sake of showing something and doing it really fast doesnt help anything but makes it super boring

  • @dannyosom3293
    @dannyosom3293 4 ปีที่แล้ว

    great course, after 2 hours things are getting more complicated for a beginner so you might wanna put speed 0.75, pause after each module , do what u saw on the video and try to undestand what you did, Django documentation is great to help you with that

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

    OMG this is amazing! Best complete tutorial on Django and installing a Django project in virtual environments along with showing us the intricacies of creating a virtualenv and how to reactivate it for your projects. Amazing so far! Looking forward to knowing Django inside out after so many tutorials missing this and that!

  • @dangcuong5615
    @dangcuong5615 4 ปีที่แล้ว

    Watching this to learn Python Django, even I don't understand much English, so I just use google translation, learning a lot from this video. Thanks the man!!

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

    At 2020 I feel using the Django version 3.0.2 is preferable you can modify the routine he does during this tutorial to match the update... Goodluck

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

      Hello, is there a significant difference in the code one needs to write between version 2 and 3?

  • @danielcaballero88
    @danielcaballero88 4 ปีที่แล้ว

    Hi! Great tutorial. Since it's more than a year old now I like to share that:
    November 2020: I used 'conda' for virtual environmentes and 'django' 3.1.3, and it all worked fine!

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

      thanks, I was wondering about this

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

    Really appreciate the no adds feature

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

    Followed your tutorial, did some more work on my own and got my first full stack web dev job - Thx a ton 👍

  • @md.niamulahadchowdhury6407
    @md.niamulahadchowdhury6407 3 ปีที่แล้ว +13

    "Does Django scale?"-that is an interesting question to look at.
    Question: **[closed]**

  • @SilvaOnTube
    @SilvaOnTube 5 ปีที่แล้ว

    OK, Kudos, He did explain better as he moved on and showed three different ways to create virtual environments in precise details. All my questions got answered. Yay! And I have it working on both Windows and the Mac.

  • @GL-fc2pv
    @GL-fc2pv 5 ปีที่แล้ว +199

    first two hours = 1.25x speed
    second two hours = .5x speed
    lol you really turn up the gears half way through hahaha

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

      last 1hr gave my a headache! too fast :D

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

      Oh my god such a help at the start haha

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

      I did the same and he sounds drunk on .5x

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

      haha, exactly..

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

      its actually really helpful to catch up with him you do a lot of things on your own and you actually lean how to do it

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

    Now this is something that a beginner wants.
    We are beginners.
    We don't want to make a massive project to get started with any technology.
    We want to understand the basics and have a basic idea of everything that's written in these files.
    Most people skip this part and just want to tech us how to create Instagram. We don't understand what the hell they are teaching and get overwhelmed by these giant files and start loosing hope

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

    I love the lesson as much as index on description! thank you a lot

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

      Thank you!! I would've never expanded the description and found that!

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

    Really nice explained, just watched this video 45 minutes, and now I can understand some concepts which were so hard for me before, thank you very much

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

    Here's how to install django on Windows 10:
    1. Install python
    2. After Installing python, Run Windows Powershell as an administrator and type the following command: pip install virtualenvwrapper-win
    3. Then create a virtual environment for your project:
    mkvirtualenv myproject
    4. now Django can be installed easily using pip within your virtual environment.
    In the command prompt, ensure your virtual environment is active, and execute the following command:

    pip install django

    • @Diallende
      @Diallende 5 ปีที่แล้ว

      OHH THANK YOU SO MUCH

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

    i really love the way you teach ,so comforting ,no stress at all

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

    Obviously a lot of hard work and its appreciated... but the second half needs a lot of work on pacing... seems like its flying all over the place and super hard to follow. Just too many code windows open at once and too much digression into altnerate ways to accomplish it... (I get the intention... but really is too much too fast).

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

      yeah...the first half was really nice...but in the second half, he became really fast.....and by the end, he became super fast!

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

      Because then the video would be Django in 6 hours

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

    I wanted to say thank you so much. It's an amazing tutorial. I am making huge progress to build my website by watching this video.

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

    Really loving this tutorial. I always thought setting up a website in Python was messy and complicated. Having come from a PHP/Laravel background I've realised that Python/Django is a much superior product and does a lot of the "grunt" work for you in the background.

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

    You cleared most of my doubts. Thanks for this Tutorial and for succeeding such a big time. You really deserve 10000000000000000000000000000000000000000000000000000000 subscribers for this tutorial.

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

    I am just watching this amazing video, I get error every time i try to use an older version of Django,
    but it works pretty well on new version.

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

    The first half of your video was great and I enjoyed it overall. But I'd like to make some constructive criticism: I would have much rather seen how to do a slug based lookup, or a bit about front-end users, or some real world validation, etc... than watching you redo the views 3 times using different methods. This is especially no good for beginners. Too many design choices can be absolutely paralyzing for a beginner. They will spend too much time deciding which to use when they could be writing some app logic and getting real experience. And if you focus on one method they will become more competent and confident in it. It'll also be more memorable. Perhaps teaching the first two methods could be justified, but there really was no need to rewrite the whole thing with raw class based views. Do beginners really need that info? At most it deserved was a mention that you could also do it that way.

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

      got me confused too

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

      @@castrombithi4135 As a beginner I agree with you. After the 2hr mark I was done. Learned as much as I could but I'm strill trying to follow.

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

    One of the best django tutorial on TH-cam.

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

    Great course! found It really valuable and I'm using it to create my own site now. Thank you for making this so accessible for us!

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

    oh! thanks man. i watched first one hour and you solved my biggest problem!!! i got confused alot of youtube vids. thnks man! i really appreciated.

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

    ⭐️Course Contents ⭐️
    (for mobile users)
    ⌨️ (0:00:00) 1 - Welcome
    ⌨️ (0:01:14) 2 - Installing to Get Started
    ⌨️ (0:05:02) 3 - Setup your Virtual Environment for Django
    ⌨️ (0:14:39) 4 - Create a Blank Django Project
    ⌨️ (0:18:54) 5 - Setup Your Code Text Editor
    ⌨️ (0:22:27) 6 - Settings
    ⌨️ (0:29:58) 7 - Built-In Components
    ⌨️ (0:33:57) 8 - Your First App Component
    ⌨️ (0:42:34) 9 - Create Product Objects in the Python Shell
    ⌨️ (0:46:18) 10 - New Model Fields
    ⌨️ (0:52:52) 11 - Change a Model
    ⌨️ (0:59:27) 12 - Default Homepage to Custom Homepage
    ⌨️ (1:04:48) 13 - URL Routing and Requests
    ⌨️ (1:10:23) 14 - Django Templates
    ⌨️ (1:16:50) 15 - Django Templating Engine Basics
    ⌨️ (1:24:00) 16 - Include Template Tag
    ⌨️ (1:26:49) 17 - Rendering Context in a Template
    ⌨️ (1:33:21) 18 - For Loop in a Template
    ⌨️ (1:37:01) 19 - Using Conditions in a Template
    ⌨️ (1:42:17) 20 - Template Tags and Filters
    ⌨️ (1:48:59) 21 - Render Data from the Database with a Model
    ⌨️ (1:59:55) 22 - How Django Templates Load with Apps
    ⌨️ (2:06:50) 23 - Django Model Forms
    ⌨️ (2:14:16) 24 - Raw HTML Form
    ⌨️ (2:25:33) 25 - Pure Django Form
    ⌨️ (2:35:30) 26 - Form Widgets
    ⌨️ (2:41:29) 27 - Form Validation Methods
    ⌨️ (2:48:59) 28 - Initial Values for Forms
    ⌨️ (2:51:42) 29 - Dynamic URL Routing
    ⌨️ (2:54:26) 30 - Handle DoesNotExist
    ⌨️ (2:56:24) 31 - Delete and Confirm
    ⌨️ (2:58:24) 32 - View of a List of Database Objects
    ⌨️ (3:00:00) 33 - Dynamic Linking of URLs
    ⌨️ (3:01:17) 34 - Django URLs Reverse
    ⌨️ (3:03:10) 35 - In App URLs and Namespacing
    ⌨️ (3:07:35) 36 - Class Based Views - ListView
    ⌨️ (3:10:45) 37 - Class Based Views - DetailView
    ⌨️ (3:15:38) 38 - Class Based Views - CreateView and UpdateView
    ⌨️ (3:21:23) 39 - Class Based Views - DeleteView
    ⌨️ (3:24:02) 40 - Function Based View to Class Based View
    ⌨️ (3:27:15) 41 - Raw Detail Class Based View
    ⌨️ (3:30:31) 42 - Raw List Class Based View
    ⌨️ (3:33:32) 43 - Raw Create Class Based View
    ⌨️ (3:26:03) 44 - Form Validation on a Post Method
    ⌨️ (3:37:58) 45 - Raw Update Class Based View
    ⌨️ (3:41:13) 46 - Raw Delete Class Based View
    ⌨️ (3:42:17) 47 - Custom Mixin for Class Based Views

  • @FakeAccount-lq1nv
    @FakeAccount-lq1nv 9 หลายเดือนก่อน

    This is really nice course if watching this video in 2024 then you need to check only installation process on other resources after that you can come here then you can understand every thing ❤

  • @AndreGomes-th1wq
    @AndreGomes-th1wq 4 ปีที่แล้ว +3

    Congratulations, your complete course for beginners helped me a lot, you're a great teacher. Thank you very much, I hope you can bring an advanced course soon.

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

    I learned a lot from this video and appreciated it. He seems really confidence and has a energy to bring people’s attentions. However I felt like he didn’t prepare much for the lecture since he must be used to doing things with Django. He makes the example for the exercise, these weren’t often proper for the cases(not saying every example must be perfect). For example when he demonstrated ‘capfirst’ filter he could have typed a string starting with lower case to show the change by the filter but he didn’t. And this isn’t the unique case as you would probably know while following instructions. Since this video was made for beginners so the mindful examples could be more helpful to remember.

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

    Love from India

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

    I love this guy, he got me into coding with python

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

    I am on the second hour repeating everthing wish me luck

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

      suerte en ruso

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

      @@carlosortiz406 en ukraniano
      but thx

  • @muaviahmapara9281
    @muaviahmapara9281 4 ปีที่แล้ว

    The best django tutorial ever. To the the point.

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

    I'm in love with the way this man says "COOL"...

  • @JJnnaatt
    @JJnnaatt 4 ปีที่แล้ว

    At some point he mentions to name forms fields the same as model fields. That's a good tip, I got a major headache trying to find errors in my code when accidentally naming a field "summary" instead of "summary_input".
    So if you're having problems with saving data to your db, check that your form field names match your model field names.

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

    thank you for this tutorial, I never enjoyed learning a framework but today!

  • @kiyop2544
    @kiyop2544 4 ปีที่แล้ว

    I didn't even finish this tutorial but it allready saved my life AND project

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

    at 1:58 he promised that he won't repeat "object" and broke it immediately after a second. haha...
    A moment like this makes things funny and freshens up the mind immediately.

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

      isn't that at 1:59:22

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

    Awesome, i never did think the day will come when i'd learn Django but here i am and boy is it amazing

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

    huge props and instant sub to this guy.
    best django tutorial I've seen.

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

    One of the most best videos of TH-cam!

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

    I literally just woke up to this

    • @jey663
      @jey663 5 วันที่ผ่านมา

      Me too hahahaaahhaha

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

    ⭐️Course Contents ⭐️
    ⌨️ (0:00:00) 1 - Welcome
    ⌨️ (0:01:14) 2 - Installing to Get Started
    ⌨️ (0:05:02) 3 - Setup your Virtual Environment for Django
    ⌨️ (0:14:39) 4 - Create a Blank Django Project
    ⌨️ (0:18:54) 5 - Setup Your Code Text Editor
    ⌨️ (0:22:27) 6 - Settings
    ⌨️ (0:29:58) 7 - Built-In Components
    ⌨️ (0:33:57) 8 - Your First App Component
    ⌨️ (0:42:34) 9 - Create Product Objects in the Python Shell
    ⌨️ (0:46:18) 10 - New Model Fields
    ⌨️ (0:52:52) 11 - Change a Model
    ⌨️ (0:59:27) 12 - Default Homepage to Custom Homepage
    ⌨️ (1:04:48) 13 - URL Routing and Requests
    ⌨️ (1:10:23) 14 - Django Templates
    ⌨️ (1:16:50) 15 - Django Templating Engine Basics
    ⌨️ (1:24:00) 16 - Include Template Tag
    ⌨️ (1:26:49) 17 - Rendering Context in a Template
    ⌨️ (1:33:21) 18 - For Loop in a Template
    ⌨️ (1:37:01) 19 - Using Conditions in a Template
    ⌨️ (1:42:17) 20 - Template Tags and Filters
    ⌨️ (1:48:59) 21 - Render Data from the Database with a Model
    ⌨️ (1:59:55) 22 - How Django Templates Load with Apps
    ⌨️ (2:06:50) 23 - Django Model Forms
    ⌨️ (2:14:16) 24 - Raw HTML Form
    ⌨️ (2:25:33) 25 - Pure Django Form
    ⌨️ (2:35:30) 26 - Form Widgets
    ⌨️ (2:41:29) 27 - Form Validation Methods
    ⌨️ (2:48:59) 28 - Initial Values for Forms
    ⌨️ (2:51:42) 29 - Dynamic URL Routing
    ⌨️ (2:54:26) 30 - Handle DoesNotExist
    ⌨️ (2:56:24) 31 - Delete and Confirm
    ⌨️ (2:58:24) 32 - View of a List of Database Objects
    ⌨️ (3:00:00) 33 - Dynamic Linking of URLs
    ⌨️ (3:01:17) 34 - Django URLs Reverse
    ⌨️ (3:03:10) 35 - In App URLs and Namespacing
    ⌨️ (3:07:35) 36 - Class Based Views - ListView
    ⌨️ (3:10:45) 37 - Class Based Views - DetailView
    ⌨️ (3:15:38) 38 - Class Based Views - CreateView and UpdateView
    ⌨️ (3:21:23) 39 - Class Based Views - DeleteView
    ⌨️ (3:24:02) 40 - Function Based View to Class Based View
    ⌨️ (3:27:15) 41 - Raw Detail Class Based View
    ⌨️ (3:30:31) 42 - Raw List Class Based View
    ⌨️ (3:33:32) 43 - Raw Create Class Based View
    ⌨️ (3:26:03) 44 - Form Validation on a Post Method
    ⌨️ (3:37:58) 45 - Raw Update Class Based View
    ⌨️ (3:41:13) 46 - Raw Delete Class Based View
    ⌨️ (3:42:17) 47 - Custom Mixin for Class Based Views

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

    One useful Tip: Whenever using ctrl-break to quit the Django server, sometimes the ctrl-break does not work. So what you can do, is to press CTRL-C to quit the server instead.

    • @rino19ny
      @rino19ny 4 ปีที่แล้ว

      it has always been Ctrl-C!!

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

    Man, great tutorial, I've started using "what do you know" phrase a lot more after this :D

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

    I'm just done with the basics, and I've done some prblem solving too, I'm i ready to take this course?

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

    can we just appreciate how all of his forms had "tesla" be an autofill to it

  • @filipepaganelli
    @filipepaganelli 23 วันที่ผ่านมา +1

    I haven't got to the end yet but great tutorial so far. Very informative! It solved a lot of questions that I had!