Django 3.2.4+ autoreload breaks on empty string in TEMPLATES DIRS. Description
Django 3.2.4+ autoreload breaks on empty string in TEMPLATES DIRS. Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). Django versions 3.2.3 changes the way template dirs are handled, they are now normalized using pathlib.Path. People having an invalid value in TEMPLATESDIRS? will…
The task
Django versions > 3.2.3 changes the way template dirs are handled, they are now normalized using pathlib.Path. People having an invalid value in TEMPLATESDIRS? will notice that autoreload stops working. "DIRS": os.getenv("TEMPLATES_DIRS", "").split(",") # wrong, should be filter(None, os.getenv("TEMPLATES_DIRS",…
Part of Lego-X/Lego-RL-SWE-Bench-Verified.