Do you know if it is possible to know in a django template if the TEMPLATE_DEBUG flag is set?
I would like to disable my google analytics script when I am running my
You will need to add the DEBUG flag to your context_processors.
DEBUG
context_processors
There may not even be an alternative way. At least, none that I know of.