A slightly more complex solution with better rewards is to load django-debug-toolbar (documentation here)
There's an option called 'Templates' with another option to 'Toggle context' and you can see all the variables passed to your template, as well as the ability to see the code behind the template.