Python Django User Authorization tutorial

Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
In this Python Django user authorization tutorial, we will protect pages from users who are not logged in. In addition, we will add a logout process and conditionally display user choices in the navbar.
💖 Support me on Patreon ➜ / davegray
⭐ Become a full-stack dev with Zero To Mastery Courses:
- The Complete Python Developer: bit.ly/CompPythonDev
- Complete Machine Learning & Data Science: bit.ly/CompMachineLearning
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
🚩 Subscribe ➜ bit.ly/3nGHmNn
📬 Course Updates ➜ courses.davegray.codes/
🚀 Discord ➜ / discord
☕ Buy Me A Coffee ➜ www.buymeacoffee.com/davegray
👇 Follow Me On Social Media:
GitHub: github.com/gitdagray
X: / yesdavidgray
LinkedIn: / davidagray
Blog: www.davegray.codes/
🔗 All Resources for this Django Course: github.com/gitdagray/django-c...
🔗 KZread Playlist for this Django Tutorial Series: • Python Django Tutorial...
Django Login Form and User Authentication
(00:00) Intro
(00:05) Welcome
(00:25) Getting Started
(00:53) Lesson Goals
(01:12) Adding a logout
(07:32) Adding a New Post page
(13:01) Applying User Authorization
(15:18) Using the "next" redirect value
(20:12) Conditional Navbar Links
📚 Tutorial References:
🔗 Django Official Site: www.djangoproject.com/
🔗 Django Model field reference: docs.djangoproject.com/en/5.0...
🔗 Django Path Converters: docs.djangoproject.com/en/5.0...
🔗 Python Official Site: www.python.org/
🔗Visual Studio Code Official Site: code.visualstudio.com/
👀 Visual Studio Code: code.visualstudio.com/
Was this Python Django User Authorizaton tutorial helpful? If so, please share. Let me know your thoughts in the comments.
#django #user #auth

Пікірлер: 32

  • @krzysiekkrzysiek9059
    @krzysiekkrzysiek90593 ай бұрын

    Excellent work Dave.Thx 👌

  • @banka990
    @banka9903 ай бұрын

    Please consider doing a course on integrating Next.js with Django for building full-stack applications (both client- and server-side rendering).

  • @NitinRanganath

    @NitinRanganath

    3 ай бұрын

    Yes please. A guide on Django JWT auth + Auth.js (NextAuth v5) and using React Query with Django REST framework would be really helpful. There's so little resources on how to do it the right way online.

  • @kumargupta7149
    @kumargupta71493 ай бұрын

    Great and love this

  • @sameug
    @sameug2 ай бұрын

    this video really helped me a lot, thank you sm

  • @DaveGrayTeachesCode

    @DaveGrayTeachesCode

    2 ай бұрын

    Glad it helped!

  • @mohammedbahnasy9870
    @mohammedbahnasy98703 ай бұрын

    Thanks you for your help

  • @DaveGrayTeachesCode

    @DaveGrayTeachesCode

    3 ай бұрын

    You are welcome

  • @tejassuryanarayanamudragad8701
    @tejassuryanarayanamudragad87013 ай бұрын

    Thank you for the great content . once i start your course i will lose tack of my time. Fallen love with your courses.

  • @DaveGrayTeachesCode

    @DaveGrayTeachesCode

    3 ай бұрын

    Happy to hear that!

  • @DontP3di
    @DontP3di3 ай бұрын

    Great. Thanks for sharing

  • @DaveGrayTeachesCode

    @DaveGrayTeachesCode

    3 ай бұрын

    You're welcome!

  • @aftabahmad4773
    @aftabahmad47733 ай бұрын

    Thanks again Dave ❤

  • @DaveGrayTeachesCode

    @DaveGrayTeachesCode

    3 ай бұрын

    Welcome!

  • @ahummbrahmasmi
    @ahummbrahmasmi3 ай бұрын

    Hello sir, Can we expect a detailed TensorFlow course like redux, Mern/Next, Python?

  • @user-ce9lk3yg4u
    @user-ce9lk3yg4u3 ай бұрын

    thanks sir !😃

  • @DaveGrayTeachesCode

    @DaveGrayTeachesCode

    3 ай бұрын

    Most welcome

  • @user-ij1fx9dq4q
    @user-ij1fx9dq4q3 ай бұрын

    Keep doing this dave Im finishing off the phyton and I will watch Django for framework, and then you can hire me as your junior backe end jk 🎉

  • @fscubetech7219
    @fscubetech72193 ай бұрын

    The great content.

  • @DaveGrayTeachesCode

    @DaveGrayTeachesCode

    3 ай бұрын

    Thanks!

  • @NitinRanganath
    @NitinRanganath3 ай бұрын

    Thanks for all the content you put out. Would it possible to cover these topics in the future please? Authentication and authorization with Django JWT auth + NextAuth v5 + managing access and refresh tokens for calling APIs I'm confused on how to manage these tokens on Next.js and create an axios instance that automatically adds the authorization header with the access token while calling APIs from RSCs and client components. Thank you once again!

  • @DaveGrayTeachesCode

    @DaveGrayTeachesCode

    3 ай бұрын

    Thank you for the requests and the support!

  • @smsaikat9329
    @smsaikat93293 ай бұрын

    ❤❤❤❤

  • @dakoderii4221
    @dakoderii42213 ай бұрын

    😂Some of those unsubbed views are from me. I watch videos on a computer I'm not logged into sometimes. I'll get a preview of the video then later go watch and code on my main rig where I am logged in.

  • @King311___
    @King311___3 ай бұрын

    What are we gonna do by learning django etc!!? AI is gonna replace us soon. Everybody is saying that. I lost all hope.

  • @DontP3di

    @DontP3di

    3 ай бұрын

    Then get your maritime license and go work at sea. AI wil not get there too much within next 50 years.

  • @King311___

    @King311___

    3 ай бұрын

    @@DontP3di work at sea? You mean like merchant navy or something else?

  • @dakoderii4221

    @dakoderii4221

    3 ай бұрын

    Calculators put mathematicians out of work in the 70's. 🤔

  • @King311___

    @King311___

    3 ай бұрын

    @@dakoderii4221 lol so not true

  • @hellokevin_133
    @hellokevin_1333 ай бұрын

    Hey man, when should be expect the full course version of this series?

  • @DaveGrayTeachesCode

    @DaveGrayTeachesCode

    3 ай бұрын

    Getting near the end of the series now.

  • @kouroshrstn

    @kouroshrstn

    3 ай бұрын

    @@DaveGrayTeachesCode can't wait to finish this course