﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
32745	Django 3.2 is auto reloading when template files are changed	Riccardo Di Virgilio	nobody	"The new version of Django 3.2 is forcing the auto reloading of all templates files, and there is no way to switch this feature off.
For development I don't used any cached reloader and the legacy strategy of not reloading the server on template changes worked quite well for several years.
When upgrading to Django 3.2 people working with me started complaining that any tiny change in html is now forcing the project to auto reload, this might not seems a big deal on a small project, but on a project of the size I'm working on it takes several seconds to reload.

Unfortunately the current implementation is automatically opting you in here if you use Django templates:

https://github.com/django/django/blob/main/django/template/autoreload.py#L9

And there is no way to turn this off, so I needed to switch back to Django 3.1 because this slowdown while developing is a dealbreaker for us.

I'm proposing 2 ways of fixing this:

1. A setting under TEMPLATES
2. Instead of checking if the class has a method named get_dirs, check if there is a property called ""should_autoreload"", this way I can at least subclass the loader and disable it.

I can contribute if you need, I have already done some small contributions I would be happy to help here.

Thanks."	Bug	closed	Template system	3.2	Normal	duplicate			Unreviewed	0	0	0	0	1	0
