Most complex websites require user accounts. Once you have user accounts, you need to limit where they can and can’t go. Django provides role-based authentication to help you with these restrictions.
In this course, you learned how to:
- Authenticate and authorize users
- Differentiate between regular, staff, and admin users
- Secure a view with the
- Restrict a view to different roles with the
- Use the Django messages framework to notify your users
Congratulations, you made it to the end of the course! What’s your #1 takeaway or favorite thing you learned? How are you going to put your newfound skills to use? Leave a comment in the discussion section and let us know.