[Answered ]-Override Template django-allaut

2πŸ‘

βœ…

An easy enough mistake to make. Many people add this to the following line to their urls.py and think the templates should go into a folder named accounts

 url(r'^accounts/', include('allauth.urls')),

but it does not, this is merely the url mapping for the login urls. The app name comes from

 'allauth',
 'allauth.account',

in your django settings.py but what you have is a folder structure with accounts

myproject
   myproject
   myapp
      templates
         myapp
            accounts

rename that to account and you will be fine

πŸ‘€e4c5

Leave a comment