Learn Django in 20 Minutes!!

Поділитися
Вставка
  • Опубліковано 27 тра 2024
  • Learn how to build a simple Django application in as fast as 20 minutes! You'll learn how to set up a Django project, configure URLs, create database models, render dynamic data with templates, and use the Django admin panel. Django is a powerful web framework for Python and I'm going to show you how to get started using it!
    Get started with SaaS Boilerplate today for FREE!
    👉 Join their discord for more information! / discord
    👉 Check out the website: www.apptension.com/saas-boile...
    DJANGO BASE TEMPLATE CODE: pastebin.com/AMzZVL12
    💻 Master Blockchain and Web 3.0 development today by using BlockchainExpert: 🔗 algoexpert.io/blockchain (Use code "tim" for a discount!)
    💻 Accelerate your software engineering career with ProgrammingExpert: 🔗 programmingexpert.io/tim (Use code "tim" for a discount!)
    🎬 Timestamps ⏱️
    00:00 | Overview
    01:43 | Django Project Setup
    02:32 | Pregenerated File Explanation
    03:39 | Django Applications
    06:02 | URL Configuration
    10:05 | Running The Server
    10:45 | HTML Templates
    13:23 | Database Models and ORM
    15:16 | Django Migrations
    16:23 | Rendering Database Entries
    19:30 | Django Admin Panel
    20:53 | Next Steps
    ◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
    👕 Merchandise: 🔗 teespring.com/stores/tech-wit...
    📸 Instagram: 🔗 / tech_with_tim
    📱 Twitter: 🔗 / techwithtimm
    🔊 Discord: 🔗 / discord
    📝 LinkedIn: 🔗 / tim-ruscica-82631b179
    🌎 Website: 🔗 techwithtim.net
    📂 GitHub: 🔗 github.com/techwithtim
    One-Time Donations: 💲 www.paypal.com/donate?hosted_...
    Patreon: 💲 / techwithtim
    ◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
    ⭐️ Tags ⭐️
    - Tech with Tim
    - Django
    - Python
    ⭐️ Hashtags ⭐️
    #techwithtim #programming#python

КОМЕНТАРІ • 251

  • @TechWithTim
    @TechWithTim  5 місяців тому +18

    Here is the code for the Django Base Template! pastebin.com/AMzZVL12

    • @Monray87
      @Monray87 3 місяці тому +1

      it doesn't seem to work on my end

    • @paulovictordsantos
      @paulovictordsantos 3 місяці тому

      not working

    • @winstonloke2860
      @winstonloke2860 Місяць тому

      not working either

    • @aromalsuresh12
      @aromalsuresh12 28 днів тому

      its not working

    • @SynysterEskimo
      @SynysterEskimo 10 днів тому +1

      For everyone running in to an error with the base template code, I found the issue. On line 11 in the link code, the rel="stylesheet" is typed out twice. If you remove the first rel="stylesheet", it fixes the issue.

  • @ban-prem-001
    @ban-prem-001 10 місяців тому +143

    this 20 minute video show my entire django experience

  • @gemini1q
    @gemini1q 10 місяців тому +81

    Starting with the Django installation and ending with building an app, this video is incredible! I spent a straight 12 hours trying to get a simple website to work on my local computer without a database on Django. This video is absolutely invaluable!

  • @exoZelia
    @exoZelia 8 місяців тому +13

    This is a video version of the Django tutorial on Django's own website. This is not a critique, I'm glad you did this.

  • @fashion_ridewithcrownex9032
    @fashion_ridewithcrownex9032 7 місяців тому +10

    You just gained a superfan! Rooting for you all the way! You brought to my way exactly what I needed. Thank you so much

  • @kingNikki
    @kingNikki День тому

    As an IT student from Germany: Thanks! I like that video more than the documentation.

  • @Alain.Robert
    @Alain.Robert 8 місяців тому +3

    These videos are perfect to get a good overview of a framework. Thanks !

  • @timvanrooijen3324
    @timvanrooijen3324 8 місяців тому +1

    Love the speed! Exactly what I needed to get started!

  • @krystianurban5421
    @krystianurban5421 9 місяців тому +43

    Short, informative and not boring. Love it.

  • @alekseishaparev7132
    @alekseishaparev7132 Місяць тому

    Man, the video is just awesome. Right speed, right knowledge. thanks 🙏

  • @torturedsoul7907
    @torturedsoul7907 Місяць тому

    The best beginner friendly django tutorial that I watched. Thank you soo so much for this!

  • @adejimimalik
    @adejimimalik 10 місяців тому +2

    Exactly what I'm waiting for. You are a life saver 🤗

  • @shanghainewbison7687
    @shanghainewbison7687 10 місяців тому +3

    This is freaking awesome. Thanks Tim.

  • @noorzaibchohan1200
    @noorzaibchohan1200 2 місяці тому

    this tutorial is indeed very helpful to those who are currently learning Django. I'm in middle of making an Django project i came across this video and basic concepts are revised very efficiently. now i feel more confident about Django. very basic but very very helpful and to the point.

  • @theone3746
    @theone3746 9 місяців тому +1

    Love this. Lately I have been struggling to sit through long videos or multiple vidoes on topics.

  • @paulthomas1052
    @paulthomas1052 10 місяців тому +1

    Great intro to Django - thanks again Tim !

  • @ginescap
    @ginescap 7 місяців тому

    One of the best tutorials I've seen, thanks

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

    Holy molly, with this guy i can barely understand django but the motivation here was free. Thanks for this great video, you're such an inspiration. 🎉

    • @bengabp
      @bengabp 10 місяців тому

      @@TechWithTim_2 obviously a scam

    • @queenofsheba8275
      @queenofsheba8275 9 місяців тому +5

      This made no sense at all.

  • @deepanshsharma4342
    @deepanshsharma4342 10 місяців тому +9

    Hi Tim! I am a big fan of your videos, thanks for all the tutorials.
    I want to request you to also create a tutorial on how to deploy the created website on a host like Vercel so that it can be shared. I watched and coded along your Flask Notes App tutorial and deployed the site on Vercel but it gives internal server error repeatedly while working fine on the local. Having a tutorial from you would be really helpful!
    Thanks!

  • @danishmalik83
    @danishmalik83 4 місяці тому

    This is really helpful, sums up all the things in 20 minutes 👌

  • @augustobecker3366
    @augustobecker3366 Місяць тому

    Perfect overview of the framework, its my first time using Django.

  • @we-it
    @we-it 4 місяці тому

    Awesome .... Explanation .. To the point ... Short & Informative !!!!!
    You Nailed it ..!!
    I Loved It ..!!
    Happy Learning

  • @jackReme
    @jackReme 10 місяців тому

    Thank you for this awesome short video!

  • @kitkatcloudkicker
    @kitkatcloudkicker 8 місяців тому

    I felt like I got the sauce dropped on me. I am inspired to make a website tomorrow morning now. Very clear and good tutorial.

  • @teclote
    @teclote 8 місяців тому

    Incredible, thank you.

  • @eltonmombeshora6183
    @eltonmombeshora6183 3 місяці тому

    Yes, I get it now -- thanks to you @Tech With Tim. The jinja template link wasn't working though...had to type it all but it was worth it! Thanks again! Now looking forward to watching your videos on Full stack integration of React for frontend to Django

  • @keith-bates
    @keith-bates 7 місяців тому +1

    Great tutorial! Worth the watch :)

  • @heidichatbot1943
    @heidichatbot1943 2 місяці тому

    very good explained. thank you!

  • @RobertSmith-lh6hg
    @RobertSmith-lh6hg 4 дні тому

    Nice quick how-to on getting started. At 2x speed, it's a fantastic 10.5-minute investment for a programer who has not used Django previously; thanks.

  • @kelpiekorn104
    @kelpiekorn104 4 місяці тому

    crazy digestable u made this respect

  • @rayanebradjou4396
    @rayanebradjou4396 9 місяців тому +5

    This is really what I need to start Django, thanks 👍.

  • @aaaaaaaa4444aaaa
    @aaaaaaaa4444aaaa 10 місяців тому +15

    hey man why didnt you link us the templates?

  • @enkiimuto1041
    @enkiimuto1041 8 місяців тому +1

    This was a great overview, thank you

  • @beefwater
    @beefwater 7 місяців тому

    Great tutorial. Thanks.

  • @eddiecns
    @eddiecns 28 днів тому

    You good!, thanks for this tutorial!

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

    Thank you This really helped your a life saver

  • @ahsananwar3098
    @ahsananwar3098 Місяць тому

    Superb video
    I have been learning django from a week but this 20 min is more than a week learning

  • @alimihakeem841
    @alimihakeem841 2 місяці тому

    Thanks for this. I found it helpful

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

    Good job, good intoduction. Thanks.

  • @user-pp1do4zq7p
    @user-pp1do4zq7p 10 місяців тому +26

    Not sure if you have any experience, but it would be fun to see some htmx, alpine and tailwind integration into Django. There are many website clone tutorials on YTube but mostly for Nextjs. Would be nice to see some website clone tutorials using only Django, htmx, alpine, tailwindcss. Thanks! ❤

  • @richnmercy
    @richnmercy 9 місяців тому

    Nice video! Much needed

  • @amandahotchkiss3959
    @amandahotchkiss3959 9 місяців тому +1

    Would love a Next.JS tutorial! I'm looking to use it for my next app, but I'm not finding many good tutorials. (I like to follow a tutorial first before jumping straight into trying to build and have loved your tutorials!)

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

    thanks! i've learned a lot from the video!

  • @Pankaj-Verma-
    @Pankaj-Verma- 3 місяці тому

    Thanks for the overview.

  • @anusurinagendrababu2532
    @anusurinagendrababu2532 7 місяців тому

    thank you giving such a good info about django.

  • @Nanashi-rq7lk
    @Nanashi-rq7lk 9 місяців тому

    Nice tutorial, Thanks

  • @roneilboodie6735
    @roneilboodie6735 4 місяці тому +5

    at 12:15, for the home.html code template, the syntax is not highlighted as yours...not sure if it's because the modules/frameworks/libs for that file is not activated?

  • @vijeshnk1355
    @vijeshnk1355 3 місяці тому

    thanks gave me the complete overview of the django

  • @user-fg2nr3yg3f
    @user-fg2nr3yg3f 3 місяці тому

    Yeah I have tried understand django, I think now I get some information thank you ❤

  • @matheusfernandes9517
    @matheusfernandes9517 3 місяці тому

    Muito bom o video, da uma boa clareza do caminho que tenho que seguir!!!

  • @sureshkhadka1020
    @sureshkhadka1020 10 місяців тому

    Much needed 💟

  • @IGCSENERD-up6yv
    @IGCSENERD-up6yv 2 дні тому

    wallahi I loved the video, so easy to understand even tho django is not shallow

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

    Amazing!! thanks!

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

    Excellent video, kudos

  • @danilzubarev2952
    @danilzubarev2952 8 місяців тому +3

    Absolutely nailed it, Tim.

  • @bengabp
    @bengabp 10 місяців тому

    Exactly today I got to know about this apptension

  • @aroncanapa5796
    @aroncanapa5796 6 місяців тому +1

    This video is basically my entire 4 month full stack boot camp last year

  • @riadqerimi6701
    @riadqerimi6701 10 місяців тому +9

    Where did he take this Jinja 2 template? I want to know

  • @franklinikeh5212
    @franklinikeh5212 10 місяців тому +3

    Sixteenth comment:
    Great video, I already have a bit of experience with Flask from your earlier videos, Django seems quite similar and probably easier to pick up

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

    Hey tim, I loved you django tutorial, and I have a request if you create a similar crash course for nextjs

  • @obiwanfisher537
    @obiwanfisher537 4 місяці тому

    Wow this is really great stuff.

  • @theblackariel5957
    @theblackariel5957 Місяць тому +1

    The install worked successfully! Congratulations!
    You are seeing this page because DEBUG=True is in your settings file and you have not configured any URLs.
    I am getting this error. What should I do ?

  • @cagOnotation
    @cagOnotation 9 місяців тому +7

    is template codes avaliable on somewhere?

  • @khantsithu4383
    @khantsithu4383 10 місяців тому

    Again, perfect timing 😄

  • @nektovkepke4829
    @nektovkepke4829 8 місяців тому +8

    Can you please link that base.html?

  • @peggyzarei
    @peggyzarei 8 місяців тому +12

    maybe share ur jinja template?

    • @casual_GamerHQ
      @casual_GamerHQ 3 місяці тому

      he shared it please see the description

  • @erol-sql
    @erol-sql 8 місяців тому

    Love it!

  • @uncene4225
    @uncene4225 10 місяців тому +6

    I have installed SaaS Boilerplate and it looks great. Could you please do a tutorial on deploying an ecommerce site using prebuilt functions? Looks super useful.

    • @TheRoyL
      @TheRoyL 5 місяців тому

      Have you found anything with anyone being able to deploy a site using saas boilerplate?

    • @uncene4225
      @uncene4225 5 місяців тому +1

      @@TheRoyL so I managed to deploy SaaS boilerplate on AWS and it costs about $200 per month to run... way too expensive for my use case and I imagine virtually every other solo dev. Unless they rework it for a lite version its not practical to deploy.

  • @annyali4542
    @annyali4542 8 місяців тому +6

    How do I do this 11:22 ? I have copied all the code and it's still not working and what is Jinja templating engine? Please can someone guide me, I am stuck.

  • @user-ts9ks8in2n
    @user-ts9ks8in2n 10 місяців тому

    Wow, is this a dream!

  • @kamags8
    @kamags8 6 місяців тому +1

    You missed one important part of django basics which is submitting a request from a template to a view so that the user could navigate to different views or make a change in database. Overall good job.

  • @WorldSecrets42
    @WorldSecrets42 10 місяців тому

    ❤I enjoyed the video ❤

  • @KayderimGameplays
    @KayderimGameplays 10 місяців тому

    Thanks you so much Tim, just what i needed

  • @CharlesBLim
    @CharlesBLim 8 місяців тому

    I need a refresher this is okay. Need to brush up more on my Django ..

  • @user-yz3ee3zn1s
    @user-yz3ee3zn1s 7 місяців тому

    love this avtor best video

  • @bisyrim1030
    @bisyrim1030 4 місяці тому

    thanks tim

  • @nileshjain1090
    @nileshjain1090 10 місяців тому +2

    can you make a tutorial on how to connect mongo db to django or mongodb to python?
    That would be a great help if you can make a video or at least a blog on it.
    Anyways Love from India🙌❤

  • @sarahfoudaa
    @sarahfoudaa 8 місяців тому +4

    from where could i access the jinja temlpating engin code that he just pasted?

  • @CmdrBeavis
    @CmdrBeavis 7 місяців тому +4

    Where do we find that HTML boilerplate template code?

  • @thehungrypiggy6791
    @thehungrypiggy6791 5 місяців тому +2

    Thanks for the tutorial! But may I know where I can find the navbar template code? at 11:03?

  • @aruns6214
    @aruns6214 10 місяців тому

    Yes we want django tutorial from your voice

  • @LeftLib
    @LeftLib 8 місяців тому +6

    Where did you get that Jinja template HTML code? It came out of nowhere. I looked on the Jinja website but i still do not know where this came from.

    • @Sillysmiles76
      @Sillysmiles76 8 місяців тому

      let me know if you got😄

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

      @@Sillysmiles76 same :(((((

    • @retrorewind6042
      @retrorewind6042 5 місяців тому

      same here. this made me close the video since i cant continue following along

    • @casual_GamerHQ
      @casual_GamerHQ 3 місяці тому

      @@retrorewind6042 It's in the description

  • @thiyaguremo3023
    @thiyaguremo3023 7 місяців тому

    very useful

  • @joaoalourencoaffonso4986
    @joaoalourencoaffonso4986 10 місяців тому

    @TechWithTim Can I use Django for commercial purposes or do I need to pay someone?

  • @realtoast7036
    @realtoast7036 5 місяців тому

    Very good! Would you say that Django is essentially the same as Wappler (php based) but for Python? As I watch the video, the interface and logic seems similar.

  • @yesyes9698
    @yesyes9698 10 місяців тому

    Lol nice. I was just crying and looking for a Django tutorial.

  • @raycho5516
    @raycho5516 3 місяці тому

    Hello Tim. The autocomplete for the model fields does not work in my vscode. Do you have any idea what might be the problem?

  • @AdnanNazirAhmed
    @AdnanNazirAhmed 9 місяців тому

    There is so much to do in Just ONE SECOND!!!

  • @andresfelipemartinez3358
    @andresfelipemartinez3358 10 місяців тому +3

    what do you think about using front end framework like react instead of django templates? which would be better for production? Note: i prefer to use django templates as i like to stay in one technology for the project but if there is something usefull to split my projects i will take it in consideration.

    • @sdscode
      @sdscode 9 місяців тому +5

      I had the same question before and the conclusion is that, react offer a powerful ecosystem that allows to creat interactive user interfaces and it’s client side rendering. Django templates are server side rendering and yes, in combination with vanilla could reach a nice maturity level and specific needs, but hey, it all depends.

  • @Nidal_Script
    @Nidal_Script 10 місяців тому

    Thank u

  • @user-qj7lo5ox7j
    @user-qj7lo5ox7j 4 місяці тому

    cool video)

  • @stockman9083
    @stockman9083 10 місяців тому

    hey tim can u make a video on how u feel about taking coursera courses/udemy courses or edx courses for coding. On sale of course

  • @yuttijon
    @yuttijon 10 місяців тому

    HI Tim. Make a video on how to create a dating site step by step. Create more features.

  • @joebashour
    @joebashour 2 місяці тому

    Great way to get a high-level idea on the Django framework without having to watch 2+ hrs of tutorials 😉

  • @robertmullinslives
    @robertmullinslives 10 днів тому

    thought I would mention that the responsive of screen size changes the displayed behavior. On wide/desktop screens the hamburger menu disappears and turns into menu items displayed on the left-hand side next to 'My Django App'.

  • @diegovalencr
    @diegovalencr 10 місяців тому

    Awesome video as always! What is your vscode theme?

    • @yessirski7868
      @yessirski7868 6 місяців тому +1

      looks like sublime text / monokai pro

  • @razawanr5035
    @razawanr5035 3 місяці тому

    Best Master

  • @ysgurjar
    @ysgurjar 3 місяці тому

    Fanstatic video. As a beginner often I wonder how much of this set up I need to memorise to be able to say " I know Django". I wonder how do you take or keep notes of what you have learned. I am bad at memorisation but good at remembering overall concept. Help ?

  • @SynysterEskimo
    @SynysterEskimo 10 днів тому

    For everyone running in to an error with the base template code, I found the issue. On line 11 in the link code, the rel="stylesheet" is typed out twice. If you remove the first rel="stylesheet", it fixes the issue.

  • @MewtwoStar
    @MewtwoStar Місяць тому

    how can we integrate python libraries in django webapp, libraries like opencv, numpy etc.