v0.151.0ยค
2026-06-03
Featureยค
-
Hot reload - Component files (templates, JS, CSS) are now updated without a server restart
Before, with the
reload_on_file_change=Truesetting, the entire Django server was restarted when you edited a component's HTML template, JS, or CSS file.Now, the files are updated in-memory, no server restart needed. The next request re-reads from disk automatically.
Changes: - The
reload_on_file_changesetting now accepts values"off","hot","restart",True,False. - The default has changed fromFalseto"hot". - The oldreload_on_file_change=Truebehavior is still available asreload_on_file_change="restart"- Therestartmode is deprecated and will be removed in v1.Actions: - If no
reload_on_file_changewas set -> Hot reload now enabled by default. - Ifreload_on_file_change=True-> Now hot-reloads instead of restarts - Ifreload_on_file_change=False-> No change.New
ReloadModeenum is exported fromdjango_componentsfor use in settings.