Python + Django - How to use the built-in authentication system
Published on Sat, 03 Feb 2018
By Harlin Seritt
In this article I want to show you how to use the built-in authentication system that Django provides for you out of the box. You could build your own authentication functionality into a view by doing the following:
- Check to see if the request.user is authenticated.
- If the user ...