Skip to content Skip to sidebar Skip to footer

Django Template Is Not Changed After Update (possible Cache)

I have a problem with Django. Possibly with it's cache. Version 1.11 I use template in urlpatterns like : urlpatterns = [ url(r'^service_preview/', include(serviceprev_urls, na

Solution 1:

By default, the Django template loader caches templates when DEBUG = False. After changing a template, you need to restart the server (e.g. Apache or gunicorn) to see the changes. This behaviour is not affected by the CACHES setting.


Post a Comment for "Django Template Is Not Changed After Update (possible Cache)"