The correct answer can be found here: fooobar.com/questions/207873 / ...
- Create
yourproject/templates/allauth/account/and paste here all the templates you need to edit from /myproject/Lib/site-packages/allauth/templates/account.
If you need to make changes for templates socialaccount, create alsoyourproject/templates/allauth/socialaccount/
- Change
'DIRS'to settings.pyhow'DIRS': [os.path.join(BASE_DIR, 'templates'), os.path.join(BASE_DIR, 'templates', 'allauth')],
:
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.join(BASE_DIR, 'templates'), os.path.join(BASE_DIR, 'templates', 'allauth')],
'APP_DIRS': True,
'OPTIONS': {
'debug': False,
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.template.context_processors.media',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
/Lib/site-packages/*, .