When generating the key inside the module rather than specifying a
hard-coded one, you'd get an error like this otherwise
Jul 15 16:02:53 nixos systemd[1]: Starting Docs from SuiteNumérique...
[...]
Jul 15 16:02:54 nixos lasuite-docs-pre-start[19466]: ValueError: Couldn't setup configuration 'impress.settings.Production': Path '/var/lib/lasuite-docs/django_secret_key' does not exist.
15 KiB
15 KiB