A TemplateSyntaxError error has occurred in my previously functional project and after trying for hours to resolve it, it was determined it might be a cache error and to empty the tmp directory at the root (the template had been working fine for a week and nothing was changed that might have affected it).
I've searched online and can't seem to find a safe means of performing this. I don't want to inadvertently remove any essential information. If anyone knows how to perform this safely, it would be much appreciated.
I found this but not sure if it's safe:
$ python manage.py shell >>> from django.core.cache import cache >>> cache.clear()