Django-allauth Template Customization
TLDR: My notes on how to customize various templates used by django-allauth.
django-allauth provides default templates for many scenarios such as authentication, registration, password reset, etc. These templates can be found at https://github.com/pennersr/django-allauth/tree/main/allauth/templates. You can see that there are quite a few of them. So in this notes, I just focus on login template used for username/password authentication. The approach to customize other templates will be similar.
As of this writing Jan 2024, the current implementation has the following structure: