Python Django Web Framework - Full Course for Beginners

Поділитися
Вставка
  • Опубліковано 29 тра 2024
  • Learn the Python Django framework with this free full course. Django is an extremely popular and fully featured server-side web framework, written in Python. Django allows you to quickly create web apps.
    💻Code: github.com/codingforentrepren...
    ⭐️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
    Course from Coding for Entrepreneurs. Check out their UA-cam channel: / @codingentrepreneurs
    Also, check out the Coding For Entrepreneurs website for more great content: www.codingforentrepreneurs.com
    --
    Learn to code for free and get a developer job: www.freecodecamp.org
    Read hundreds of articles on programming: medium.freecodecamp.org

КОМЕНТАРІ • 1,7 тис.

  • @programmingwithmiko4294
    @programmingwithmiko4294 4 роки тому +1336

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

    • @siddharthbisht8522
      @siddharthbisht8522 4 роки тому +10

      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 роки тому +11

      @@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 3 роки тому +18

      @@siddharthbisht8522 lockdown is getting u fam

    • @claw1479
      @claw1479 3 роки тому +12

      @@11hamma its getting all of us😞

    • @11hamma
      @11hamma 3 роки тому +1

      @@claw1479 truuuee 😔😔

  • @user-kb3dk2ep3c
    @user-kb3dk2ep3c 5 років тому +154

    ⌨️ (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

    • @_lethan112
      @_lethan112 5 років тому +4

      冠勳廖 1:10:24 django template
      1:26:51 rendering context in template
      1:33:23 for loop in a template
      1:37:02 using conditions in template
      1:42:18 templates tag and filter

  • @user-kj3qq6yl4q
    @user-kj3qq6yl4q 4 роки тому +1482

    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

  • @usoppgostoso
    @usoppgostoso 10 місяців тому +60

    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.

  • @chicoze2
    @chicoze2 10 місяців тому +12

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

    • @NeelNapkin08
      @NeelNapkin08 6 місяців тому

      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 6 місяців тому

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

  • @sanbidrc
    @sanbidrc 4 роки тому +61

    ⭐️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

  • @sidrahms7458
    @sidrahms7458 3 роки тому +36

    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 2 роки тому +1

      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 2 роки тому

      MVP

  • @kcseanbrixd.calinao6700
    @kcseanbrixd.calinao6700 Рік тому +22

    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 2 місяці тому +1

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

  • @HostDotPromo
    @HostDotPromo 5 років тому +1023

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

    • @prettycode4028
      @prettycode4028 4 роки тому +18

      wat? in real life? were?

    • @rabeast1991
      @rabeast1991 3 роки тому +28

      @@prettycode4028 janitor at his university

    • @divancode3725
      @divancode3725 3 роки тому +12

      @@rabeast1991 you must be kidding me

    • @sixshorts6227
      @sixshorts6227 3 роки тому +3

      @@divancode3725 😂😂😂😂

    • @SumriseHD
      @SumriseHD 3 роки тому

      @Saketh p ?

  • @ogs3721
    @ogs3721 5 років тому +26

    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 UA-cam.

  • @18.michaelmaramag89
    @18.michaelmaramag89 3 роки тому +15

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

  • @kellymcgowan5414
    @kellymcgowan5414 3 роки тому +72

    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

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

  • @danielalejandrohernandez5231
    @danielalejandrohernandez5231 4 роки тому +8

    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.

  • @TheGrandmaster1
    @TheGrandmaster1 4 роки тому +25

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

  • @ferdiaek5557
    @ferdiaek5557 3 роки тому +15

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

  • @asulav
    @asulav 5 років тому +189

    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

    • @medharawat2769
      @medharawat2769 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 3 роки тому +1

      silicon valley

    • @sneipen157
      @sneipen157 3 роки тому

      @@medharawat2769 does not work

  • @chase8264
    @chase8264 4 роки тому +36

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

  • @SSNUTHIN
    @SSNUTHIN 3 роки тому +5

    I though some folks might find it interesting that when working on block content (at 01:20:13), you cannot write {%block content %} {% end block %} twice, in a HTML comment or otherwise, without throwing the error " 'block' tag with name 'content' appears more than once". I also tried using the hash (# and ##) symbols to comment it out and Django still threw the error. I think its important to remember that your code is being read by Django and it interprets HTML differently than running it directly in browser.
    Hit that save button like nobody is watching, but most of all, happy coding!
    Django version 3.1.3;
    Python Version 3.9.0;
    (regrettably) running Windows 10 Home on Dell G3 3579 Signature Edition;
    Intel(R) Core(TM) i5-8300H CPU @ 2.30GHZ 2.30 GHZ

  • @thejonellwood
    @thejonellwood 4 роки тому +7

    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!

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

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

  • @vajk7
    @vajk7 4 роки тому +50

    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

  • @seungsooim2183
    @seungsooim2183 2 роки тому +1

    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.

  • @lowkeygaming4716
    @lowkeygaming4716 5 років тому +8

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

  • @flaredev
    @flaredev 5 років тому +11

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

  • @SSNUTHIN
    @SSNUTHIN 3 роки тому +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 4 місяці тому

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

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

  • @RAWRCoding
    @RAWRCoding 5 років тому +7

    Great tutorial! Explains mostly everything you would want to know!

  • @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 4 роки тому +3

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

    • @RoylanMartinez
      @RoylanMartinez 4 роки тому

      @@hunggamerofficial3252 I use pycharm

    • @hunggamerofficial3252
      @hunggamerofficial3252 4 роки тому +1

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

    • @RoylanMartinez
      @RoylanMartinez 4 роки тому +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 4 роки тому +2

      What about anaconda ?

  • @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 3 роки тому +15

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

  • @agungokill
    @agungokill 3 роки тому +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

  • @alessandroalmeida1512
    @alessandroalmeida1512 3 роки тому +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

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

  • @UBLAunripped
    @UBLAunripped 3 роки тому +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!

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

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

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

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

  • @joel2011140
    @joel2011140 5 років тому +20

    Greetings from Angola ( Africa ) thanks a lot

    • @mini_frank
      @mini_frank 5 років тому +1

      I want to go to wakanda

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

  • @doodle-thuta3762
    @doodle-thuta3762 4 роки тому +1

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

  • @CHRISTOPHE-dc7ve
    @CHRISTOPHE-dc7ve 2 роки тому

    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

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

  • @davidk6774
    @davidk6774 3 роки тому +8

    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.

  • @koplex554
    @koplex554 2 роки тому +1

    1:18:45, a shortcut for this is just typing html then press tab.

  • @mayankgupta7078
    @mayankgupta7078 5 років тому +3

    thanks for making such a great video it is very inderstandable for beginers too..i really appreciate your work

  • @catface
    @catface 5 років тому +23

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

  • @brumarul7481
    @brumarul7481 4 роки тому

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

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

  • @narutouzumakijoshua
    @narutouzumakijoshua 5 років тому +34

    I’ve only watched the first 20 minutes or so but I can already tell this by far the most descriptive and best tutorial I’ve ever seen! You are so descriptive and you explain everything as if we are 5 years old, which is AMAZING!!! Thank you!!

  • @jatinraj9526
    @jatinraj9526 4 роки тому +13

    Really appreciate the no adds feature

  • @armyofone2323
    @armyofone2323 4 роки тому +1

    Man, you've cleared out a lot of things to me thanks.

  • @minjisong4478
    @minjisong4478 4 роки тому

    This video is really helpful. It is compact but has most of all concepts of python&djago. Examples are excellent. The video's big frame seems Class comparison but it even included inheritance (class variable, self keyword so giving the idea of variable scop), Mixin patterns. Thanks a lot!

  • @Jonathan-rm6kt
    @Jonathan-rm6kt 4 роки тому +10

    This is one of my favorite video tutorials I've come across. Great pacing and balance of concepts & details. Keep up the good work, I'll be following!

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

    • @DanielCardin_ATX
      @DanielCardin_ATX 5 років тому

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

  • @glaceondev4149
    @glaceondev4149 3 роки тому +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

  • @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 Рік тому

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

  • @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 3 роки тому +1

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

  • @nsshing
    @nsshing 5 років тому +10

    THE best django tutorial! Thank you!!

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

  • @windar2390
    @windar2390 4 роки тому +1

    3:30:50 - I'm pretty sure the queryset should be but in the function and not direct in the class otherwise it wont update when another user inserts a object.
    I found out about that, when the list didnt update after i inserted a object via admin page. putting it in the function solved the problem.

  • @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 2 роки тому +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 2 роки тому

      @@pchandrasekaran1595 thanks! Good explanation :)

  • @MiCt0
    @MiCt0 5 років тому +62

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

  • @donaldklopper
    @donaldklopper 2 роки тому +1

    Wonderful work, thanks for sharing this course. I'm only about an hour in, but I've learned so much already.

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

  • @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 2 роки тому +3

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

  • @md.niamulahadchowdhury6407
    @md.niamulahadchowdhury6407 3 роки тому +13

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

  • @olliewelsh123
    @olliewelsh123 3 роки тому

    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

  • @memoriasIT
    @memoriasIT 4 роки тому

    This is an AMAZING video, thanks my friend.
    Came here to brush django and you went straight to the point.

  • @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 4 роки тому +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

  • @sophon44
    @sophon44 4 роки тому +4

    Very clear explanation throughout the whole video, you're saving lives.

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

  • @priyanbp1234
    @priyanbp1234 3 роки тому +1

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

  • @africaethiopia6360
    @africaethiopia6360 3 роки тому

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

  • @shreejanshrestha1931
    @shreejanshrestha1931 3 роки тому +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.

  • @dasshrs
    @dasshrs 3 роки тому +17

    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

  • @rahultino
    @rahultino 3 роки тому +2

    This is fantastic. I like your style of hands on explanation. Great job.

  • @Smooth_lnz
    @Smooth_lnz 7 місяців тому +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.

  • @tetteishahday-annang3120
    @tetteishahday-annang3120 5 років тому +35

    Thanks once again #FreeCodeCamp. Looking forward to a great 2019 with you.

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

  • @thetj7093
    @thetj7093 2 роки тому

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

  • @dan-simi6
    @dan-simi6 Місяць тому +1

    By far the best tutorial on Django!

  • @yogeshkhere5628
    @yogeshkhere5628 5 років тому +19

    Love from India

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

  • @suryakumar9190
    @suryakumar9190 3 роки тому +2

    For Windows, the step to create virtual environment is : "py -m venv trydjango"(for pyton versoin > 3.0) and "py -m virtualenv trydjango"(for version 2.X)

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

  • @cybergen2K
    @cybergen2K 5 років тому +3

    3.75 hours. nuts! Thank you!

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

  • @paulobuenobruno3423
    @paulobuenobruno3423 4 роки тому +2

    Man, congrats for the video, it really shows in a easy way how to do things in Django! \o/ ps I'm using django 3 and no problem so far (I watched until 2:51:44)

  • @sergiobianco9331
    @sergiobianco9331 3 роки тому

    This video is simply awesome. Explains a lot of concepts in a nice and easy way. Thank you

  • @Veritasdio
    @Veritasdio 5 років тому +4

    The best Django tutorial by far.

  • @debojyotichatterjee4421
    @debojyotichatterjee4421 4 роки тому +6

    2:54:23 I was looking around my desk wondering what's playing the beats!!!

  • @varswe
    @varswe 2 роки тому +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

  • @elliotoconnor
    @elliotoconnor 3 роки тому +1

    Thank you very much for this video! You are very good at explaining the basics of how to use the framework, for someone like me who has no expierence in Python :)

  • @carminetambascia6355
    @carminetambascia6355 5 років тому +9

    Hey Mitchel please do some video more on how decoupling Backend from Frontend because this is the best way to go and reuse both backend or Frontend for different projects

    • @lardosian
      @lardosian 4 роки тому

      Yes something like a django rest framework api tutorial would be great.

  • @Raahim
    @Raahim 3 роки тому +6

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

  • @jefflawler953
    @jefflawler953 2 роки тому

    Amazing tutorial, you took your time and explained everything. So many videos out there that copy and paste code without even explaining what anything does.

  • @yeyintaung9837
    @yeyintaung9837 Рік тому

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