theCodingInterface

Providing quality software engineering content in the form of tutorials, applications, services, and commentary suited for developers.

Posts about Django

Django Authentication Part 1: Sign Up, Login, Logout

This is the first article in a multipart series on implementing the Django authentication system. Each article of this series focuses on a subset of the authentication features that can be implemented with Django with this first one demonstrating how to register users, log them in and out, plus how to restrict access to class based views to only authenticated users.

Django Authentication Part 2: Object Permissions with Django Guardian

This is the second article in a multipart series on implementing the Django authentication system. This second article focusses on how to assign object level permissions to users and groups of users using the Django Guardian package. These permissions will be used to control who can view and take a survey as well as who can view survey results by restricting access to class views to only users meeting these specific object level permissions.

Django Authentication Part 3: Adding Python Social Auth

This is the third article in a multipart series on implementing the Django authentication system. I will continue to use the same demo survey application, which I refer to as Djang Survey, to aid in the demonstration of the many features of Django authentication. This third article focusses on how to integrate social authentication with the help of Python Social Auth. Specifically, I will be showing how to integrate user login via Google OAuth2.

Django Authentication Part 4: Email Registration and Password Resets

This is the forth article in a multipart series on implementing the Django authentication system. I will continue to use the same demo survey application, referred to as Django Survey, to aid in the demonstration of authentication features. For this article I will be focusing on a specific use case common to authentication in a web application which is the use of email confirmation for user registration and password resets utilizing emails with token embedded reset links.

Navigation

theCodingInterface