Creating two google sign-in for each user type using django-allauth Part 2

*Click here to read the previous article (part 1).

Adding the necessary code to each view

Adjusting the Design

This article is not finished yet. We have completed the implementation of the functional aspect, but in this tutorial, we did not cover the design aspect. Therefore, we would like to make some design adjustments at the end. If you are not interested in the design aspect, you can skip this part.

In the previous article, we used bootstrap to implement the template. However, in this article, we removed bootstrap, rewrote the template, and used grid layout and flexbox to achieve the desired design.

The redesign process is as follows:

- 1. Add code to settings.py and urls.py - 2. Check folder and file structure - 3. Rewrite template and CSS file

1. Adding code to settings.py and urls.py

2. Checking folder and file structure

3. Rewrite the template file