Complete Django Project
In this tutorial we’ll learn how to properly start a new Django project with a custom user model and add Gmail social authentication via django-allauth . I I believe these features are must haves in any new Django project in 2018. A custom user model is highly recommended in the official docs and allows for future customization. Adding social authentication via third-party services like Gmail, Facebook, and other services is also common. By using django-allauth from the beginning, we can add social auth as needed. I want to express my appreciation upfront to the work of Raymond Penners on django-allauth as well as the open-source cookiecutter-django and demo-allauth-bootstrap projects. The outline of our work is as follows: start a basic Django project add a pages app for the homepage implement a custom user model signup, login, logout install django-allauth get Google credentials update t...