Take the 2-minute tour ×

In Django, is there a reasonably simple way to log what templates were used using a middleware?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

django-debug-toolbar puts an overlay on your webpages when you are in debug mode that shows you what templates were used in a request

I'm sure the source code would show you how to go about this if you wanted it for production

share|improve this answer
add comment

Your Answer


