Sunil Mohan Adapa 2f0ec1a1cd
web_framework: Disable caching templates files in development mode
- When a template page is updated, we are having to restart service in order for
the new changes to reflect. This is due to caching of template files starting
Django 4.1[1]. Disable this behavior in development mode to allow reload the
browser page to see changes reflected.

Links:

https://docs.djangoproject.com/en/5.0/releases/4.1/#templates

Tests:

- Change a template file and reload the page without restarting service. The
changes should reflect immediately.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2025-01-07 11:45:57 +02:00
..
2025-01-07 08:01:33 +00:00
2025-01-05 12:17:24 -05:00
2023-08-23 21:47:39 -04:00
2024-10-16 21:07:54 -07:00
2024-12-25 12:25:05 +02:00