Django Error; how to empty tmp directory, cache
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()--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/D8yGV1c5De8J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home