Real Python Tutorials
Get Started With Django Part 3: Django View Authorization
This tutorial covers how to restrict your web pages to users with different roles through Django view authorization. You'll learn about HttpRequest.user objects, view decorators that authenticate, and how to notify your users with the Django messages framework.
Not Sure Where to Start?
At Real Python you can learn all things Python from the ground up. If you’re wondering where to begin your Python journey, click the button below and we’ll give you some guidance:
🐍 Python Tricks 💌
Get a short & sweet Python Trick delivered to your inbox every couple of days. No spam ever. Unsubscribe any time. Curated by the Real Python team.