I installed django with cookie cutter. I’m using docker-compose to run the project on my local machine. When I update the home.html file the change is not reflected in my browser. I cleared the cache and confirmed that DEBUG = TRUE. When I restart docker the change is updated.
However, when I click the side bar, navigate to the templates section / pages and click on home.html the change is shown there. See attached screenshot.
Since 4.1, Django now enables the template cache by default. See Django 4.1 release notes | Django documentation | Django. You’d have to change some other file that would cause the process to be restarted to have the modified templates read. Or, set the option to not use the cached loader.
Thank you! I’m very new at this so I’m not sure how modify the files. I don’t have a settings file. The templates info is in my local.py file. Is it now common practice for people to restart docker whenever they update html or does everyone make a custom modification?