I’ve just spent 10 minutes trying to figure out why the logged_out.html template I added for a website wasn’t being used. It was in the correct place (templates/registration) and the login.html template alongside it was being used without any trouble, so it was a little perplexing.

The solution was simple. I had the admin app listed prior to the app with the templates in the settings.py file. Changing the order got the template used and all was well.

Hopefully this will help someone else at some point in the future 🙂