Is there a template tag (or any other trick) I can use to display all the variables available in a page?
If you use pycharm of professional version, you can set breakpoints on some lines in a template file and view the variable value.
For more detail, follow this link.https://www.jetbrains.com/help/pycharm/debugging-django-templates.html