Рет қаралды 5,006
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...
🔗 KZfaq 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