Like most web apps these days, the CRM Easy application requires login functionality. As previously discussed, Django comes with a sophisticated User Auth system. Included in that system is a set of tools that make it easy to build login and logout functionality. In this chapter you'll learn how to use the pre-built functionality to create a login form.
You can refer to the Login page to see what you'll be building.
The key concepts covered in this chapter include:
- Tapping into Django's built-in login views
- Building a custom login page template
- Configuring the login URL schemes
Follow these steps to reset your project to a known working version.
1 2 3 4 5 6 7 8
# checkout the master (venv)$ git checkout master # checkout the baseline version for the current chapter (venv)$ git checkout step-6 # create a new branch from this version (venv)$ git checkout -b the_login_page