In Part 2, you learned how to create forms and accept user input. Now it’s time to handle user authentication. In this post, you’ll add login, logout, and registration functionality using Django’s built-in auth system.
What You’ll Learn
- Enable Django’s auth system
- Create user registration (sign up) form
- Add login and logout functionality
- Secure pages to logged-in users only