Chapter 6. Creating User Accounts
One thing we can offer our customers is the ability to create an account, giving them a username and password so that we can track information about our customers and help personalize their user experience. As a part of the traditional user experience, many sites display a message when you log in that reads, "Welcome, [your name here]!"? We're going to do that in this chapter, and Django actually provides a User model, login view functions, URL patterns, and forms that help make the development of user pages very quick and easy, without the need to worry about all that session junk ourselves.
Another benefit to user accounts is that it allows users to store their billing and shipping address information with a ...
Get Beginning Django E-Commerce now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.