Python Tutorial: Build a Course Platform with Django, HTMX, TailwindCSS and Cloudinary.

Поділитися
Вставка
  • Опубліковано 6 січ 2025

КОМЕНТАРІ • 63

  • @CodingEntrepreneurs
    @CodingEntrepreneurs  3 місяці тому +14

    Thanks for watching. Code and chapters here 👇
    Code: github.com/codingforentrepreneurs/course-platform
    Chapters
    00:00:00 Welcome
    00:00:51 Demo
    00:06:39 Python Virtual Environment
    00:10:24 Create the Django Project
    00:15:53 Course Roadmap
    00:21:05 Baseline Django Course Model
    00:34:31 Django ImageField and Pillow
    00:37:21 Syncing Code with Migrations
    00:48:03 Django Admin to Manage Course Model
    00:52:31 Handling Image Uploads in Development
    01:01:12 How Django Manages Image Uploads
    01:06:03 Configure Cloudinary for Django
    01:13:48 Using the CloudinaryField for Django Image Hosting
    01:17:22 Customize the Django Admin to Render HTML Images
    01:22:56 On Demand Image Adjustments with Cloudinary Images
    01:27:29 Model Methods for Image Sizes
    01:33:18 Understanding Foreign Keys with the Lesson Model
    01:42:18 Lesson Publish Status and Preview
    01:45:03 Cloudinary Video + Thumbnail Fields for Lessons
    01:48:26 Foreign Key Stacked Model Admin
    01:50:23 Ordering with a Model Field
    01:56:57 CloudinaryField Upload Options
    02:06:09 Generate a Public ID Field
    02:17:23 Reusable CloudinaryField Functions
    02:28:25 Decoupling Cloudinary Helper Services from Models
    02:42:07 Get Cloudinary Video Object Service
    02:46:33 Signed Private Video URL in Admin
    02:49:01 Embed Cloudinary Video with Pure HTML
    02:54:10 Using Django Templates to Render Video
    03:02:28 Using JavaScript for Video Embed Basics
    03:09:30 Django & the Cloudinary Video Player
    03:15:51 Override Django Admin Templates
    03:23:53 Render Multiple Videos in One Page
    03:29:02 View Logic and Database Lookup Services
    03:37:50 URL View Routing for Database Lookups
    03:48:04 Public ID As URL Path Lookups
    03:53:25 Rendering Templates from Views
    04:03:43 Render the Course List View
    04:13:11 Course Detail View and Template Snippets
    04:19:40 Lesson QuerySet for Different Status Values
    04:29:57 Lesson Detail View
    04:35:29 Render the Video Player for Users
    04:43:56 Configure Django to Send Email with Gmail
    04:52:19 Email Verification Models
    04:58:32 Create the Email Model Form
    05:02:43 Handing HTML Forms with Django
    05:08:35 Rendering a Django Model Form
    05:14:35 Email Validation & Verification Event
    05:21:02 Email Verification Event Service
    05:26:02 Send Email from Verification Event
    05:34:37 Unique Verify Link with UUID
    05:39:18 Verify Confirmation Token Service
    05:50:58 Enrich the Session With Verified Email ID
    05:57:28 Email Required on Lesson Detail View
    06:04:27 Using HTMX To Dynamically Load Forms
    06:13:02 HTMX with POST Data
    06:19:34 Using HTMX to Handle Logout
    06:24:35 But Why Tailwind with Django
    06:28:51 Install django-tailwind
    06:43:34 Setup Flowbite with django-tailwind
    06:51:02 Login & Logout Views
    06:56:13 Tailwind and the HTMX-Driven Login Form
    07:01:16 Improved Course List View
    07:07:13 List View with Thumbnail Images
    07:17:06 Video Frame as Lesson Thumbnail
    07:19:31 Base Template CSS Spacing
    07:22:08 Course Detail View
    07:28:32 Improved Unlock Content Page
    07:30:02 Improved Homepage
    07:35:51 Thank you
    07:36:35 Next up

  • @sahilgarg94
    @sahilgarg94 3 місяці тому +6

    I learnt django from you two years back and now i m thriving in my career. Thanks 🎉

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

      Thanks for sharing! You made my day

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

      Which playlist?

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

      @@arenwreck5498 ua-cam.com/video/F5mRW0jo-U4/v-deo.htmlsi=ozsJ6ltgVQAzx0ws

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

      buy him a coffee ?

  • @MJB_18
    @MJB_18 3 місяці тому +4

    I remember this guy from Facebook and Udemy from back in 2012. Good to see you’re doing so well!

  • @riadsultanov8175
    @riadsultanov8175 3 місяці тому +2

    Last 6 months i studied 10-12 hours a day, and can definitely say that you are the best! Provided a lot information what we will need in prod, and at all prepare us more for this environment. From first job will donate you half of my salary :). Thanks for lessons. Legend!

  • @rishabhmehrotra6976
    @rishabhmehrotra6976 3 місяці тому +43

    Bro is not pregnant. But always delivers.

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

    One of the very few course creators that builds real practical apps and shares that knowledge for free.

  • @Makhosi-d3k
    @Makhosi-d3k 18 днів тому

    I truly appreciate the way you teach Django. Your project-based approach has been incredibly helpful, and it has enabled me to confidently start my own projects based on the fundamentals I learned from your channel.

  • @Mu99240
    @Mu99240 2 місяці тому +1

    I can't descripe how this video is perfect. I will say one thing. may Allah bless you and guide you to the best always

  • @kaustubhkadam1083
    @kaustubhkadam1083 20 днів тому

    Before watching this course I thought I knew Django but this course told I know shit, and made me learn a ton.

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

    Another high quality content! Congratulations man!

  • @maqboolthoufeeqt
    @maqboolthoufeeqt 3 місяці тому +6

    Hi Justin,
    Could you please consider Multi Tenancy in any of your future videos?

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

    Looking at the code before starting. It makes me feel like I'm an impostor/don't know how to code. Good job.

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

    You're simply awesome🎉💯

  • @MihirSanjayYadav
    @MihirSanjayYadav 2 місяці тому +2

    If you x0.75 the video and close you eyes, it'll feel like the UFC fighter Sean Strickland is teaching you django.

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

    🐐awesome course about a course!

  • @status-200-ok
    @status-200-ok 3 місяці тому

    Thank you, excellent content with Django and you appreciate the material you're uploading from Cloudinary and Cloudflare

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

    My best teacher

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

    Thank you so much for this course , you dont know how this is really helping me a lot with experience you are providing thank you sir

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

    As always, good class 👍

  • @md.alihaider7371
    @md.alihaider7371 Місяць тому

    Very interactive and helpful tutorial. Would you create a full video tutorial on building a modern, interactive website using React for the frontend and Django for the backend?

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

    Great video
    Now waiting for a detail project on FastApi
    which I hope will cover sqlalchemy orm with pydantics models with async Database with full authentication

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

      What kind of FastAPI project?

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

      @@CodingEntrepreneurs something like a real world problem
      like two or three microservices which interact with each other
      let's just say, An auth service which handles authentication (JWT), then a service which will let user post something like ads, picture or video
      as when user post something the request have to be authenticated
      something like this, hope you are getting what I am trying to say
      Thanks 🙂

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

    You are the best ❤🤲🏾

  • @ishwarambare1396
    @ishwarambare1396 3 місяці тому +2

    Which font family you are using in your editor

  • @YoanBello-r7v
    @YoanBello-r7v 3 місяці тому

    Thanks for your content. One point i recommend is that you have a boilerplate code tha have good practices, docker support, code reviews and this things ready for production enviroments too for you begin all your projects and would be more easy deploy to production too. Thanks

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

    Remarkable!!!! thanks 🙃🙂

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

    Hello justin, appreciate your videos. i want to ask if you use drf and if you can make a course building a project using drf. Thank you

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

      Thank you.
      I love drf 👇
      ua-cam.com/video/c708Nf0cHrs/v-deo.html

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

    The legend himself

  • @PP-tc1zp
    @PP-tc1zp 3 місяці тому

    Hello Justin, hello guys,
    Does this course require additional fees such as api key chatgpt? or others?

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

    please don't stop making django courses my guru thanks for all your courses student from your udemy course

  • @khalilgaming-d6c
    @khalilgaming-d6c 3 місяці тому

    what's your perspective on this scenario :
    I am kind of stuck with that thing " learn before building something" rather then learn and build along the way " and i have watched alot of courses numerous and even after getting some certificates i still think i don't know enough and no significant project that i made , and now I hesitate to learn anything because of the psychology that i want to master all programming aspects each one of tech, and it's kind of a loop , deadlock state wasting my 20's

    • @CodingEntrepreneurs
      @CodingEntrepreneurs  3 місяці тому +2

      Pick one thing to build, say a course platform, and do anything and everything you can to make it real.
      Near the beginning of this video I walk through the features I want to build. Once I make all those features, I’ll do it again. Rinse and repeat until project done and exactly what features are needed.
      How do you know what features?
      1. what you want
      2. what friends, users or customers want
      #1 is one of the best ways to get lost in too many features land (thus never shipping anything of value to everyone else)
      #2 is one of the best ways to build a business and possible start disliking your software because you aren’t building what you want to see built.
      So…
      Combine 1 and 2.
      This means you have to learn how to:
      - plan
      - build
      - fix bugs
      - release
      You can do this. Just decide to. The above is the scientific method mix with a love for what you do.
      Good luck!

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

    Thank you

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

    Do i need to make payment in cloudinary to complete this project using cloudinary?

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

    hey justin! thanks for all your efforts, Please can you make a Tutorial on Deployment of django applications on GCP/AWS/AZURE

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

    It possible to make a video about custom user model with multiple users type, with permission

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

    meastro

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

    wtf good thank

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

    ❤❤❤❤

  • @Gurukul-sm
    @Gurukul-sm 3 місяці тому

    Teach fast api ...how to build nr how to use on live project

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

    don't have the time right now to watch/do this, here, take a like, I'll be back in a month or so haha

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

    Thank you for this tutorial can you make another course for create full blog app ❤

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

    Htmx full curses

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

    The formatting... My eyes hurt. ruff it

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

    Leetcode clone

  • @Makhosi-d3k
    @Makhosi-d3k 18 днів тому

    I truly appreciate the way you teach Django. Your project-based approach has been incredibly helpful, and it has enabled me to confidently start my own projects based on the fundamentals I learned from your channel.