Python Django Web Framework - Full Course for Beginners

Поделиться
HTML-код
  • Опубликовано: 31 май 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 RUclips 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 тыс.

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

  • @programmingwithmiko4294
    @programmingwithmiko4294 4 года назад +1336

    Looking for Django Unchained. Ended up becoming a programmer. Thanks RUclips.
    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 4 года назад +18

      @@siddharthbisht8522 lockdown is getting u fam

    • @claw1479
      @claw1479 3 года назад +12

      @@11hamma its getting all of us😞

    • @11hamma
      @11hamma 3 года назад +1

      @@claw1479 truuuee 😔😔

  • @usoppgostoso
    @usoppgostoso 10 месяцев назад +61

    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

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

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

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

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

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

  • @18.michaelmaramag89
    @18.michaelmaramag89 3 года назад +15

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

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

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

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

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

  • @chase8264
    @chase8264 4 года назад +36

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

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

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

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

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

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

  • @lowkeygaming4716
    @lowkeygaming4716 5 лет назад +8

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

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

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

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

  • @flaredev
    @flaredev 5 лет назад +11

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

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

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

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

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

  • @TheGrandmaster1
    @TheGrandmaster1 4 года назад +25

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

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

  • @RAWRCoding
    @RAWRCoding 5 лет назад +7

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

  • @brumarul7481
    @brumarul7481 4 года назад

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

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

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

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

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

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

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

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

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

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

  • @armyofone2323
    @armyofone2323 4 года назад +1

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

  • @mayankgupta7078
    @mayankgupta7078 5 лет назад +3

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

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

  • @memoriasIT
    @memoriasIT 4 года назад

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

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

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

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

  • @doodle-thuta3762
    @doodle-thuta3762 4 года назад +1

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

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

  • @catface
    @catface 5 лет назад +23

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

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

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

  • @nsshing
    @nsshing 5 лет назад +10

    THE best django tutorial! Thank you!!

  • @joel2011140
    @joel2011140 5 лет назад +20

    Greetings from Angola ( Africa ) thanks a lot

    • @mini_frank
      @mini_frank 5 лет назад +1

      I want to go to wakanda

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

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

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

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

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

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

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

  • @sophon44
    @sophon44 4 года назад +4

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

  • @jatinraj9526
    @jatinraj9526 4 года назад +13

    Really appreciate the no adds feature

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

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

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

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

    At " (2:48:59​) 28 - Initial Values for Forms " the code just changed without saying anything. At (2:49:45) you use a new URL "/inital/". This confused me realy a lot.
    Up until this point it was a good tutorial i learned a lot. Thanks

  • @MiCt0
    @MiCt0 5 лет назад +62

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

  • @yogeshkhere5628
    @yogeshkhere5628 5 лет назад +19

    Love from India

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

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

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

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

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

  • @sebastianfabricius2511
    @sebastianfabricius2511 4 года назад +4

    I love this tutorial! Insanely beginner-friendly and very motivating. Thanks a lot! :-)

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

      i know basic concepts of python ,does this course teach python or dive directly in to web dev?

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

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

  • @deanjordan6053
    @deanjordan6053 3 года назад +12

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

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

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

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

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

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

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

    It is an amazing course, very good explanation. It just helped me a lot.
    Thank you so much and free code camp continue teaching us and presenting us with the great courses as you've been doing until now.
    Thnk you so much.

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

    I started out with learning Flask and it was great.
    But if you want a little less flexibility but more features and a robust framework, Django is great.
    Both serve a purpose

  • @Veritasdio
    @Veritasdio 5 лет назад +4

    The best Django tutorial by far.

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

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

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

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

  • @md.niamulahadchowdhury6407
    @md.niamulahadchowdhury6407 3 года назад +13

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

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

  • @eddiebrett
    @eddiebrett 4 года назад

    Really appreciate this video, front half was super helpful then from 2.40ish it was as if dinner was ready and everything just flew crazy quick. So lost lol.

  • @tetteishahday-annang3120
    @tetteishahday-annang3120 5 лет назад +35

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

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

      about to end, so was it great?

  • @dan-simi6
    @dan-simi6 Месяц назад +1

    By far the best tutorial on Django!

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

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

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

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

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

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

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

    thank you to those who truly guide the exact Django version

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