Sunil Mohan Adapa abf389aaa1
main: Drop initializing Django when listing dependencies
- Avoid any potential problems with sqlite3 not being present.

- Avoid any potential problems with secret key not being available. Avoid
accidentally creating the secret key hardware/container images.

Tests:

- --list-dependencies works with and without secret key and plinth sqlite3.

- --list-dependencies works with plinth and root users.

- --list-dependencies does not create the sqlite3 database or the secret key.

- Running app works in normal mode and creates the secret key.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-11-18 06:48:41 -05:00
..
2021-11-13 04:49:48 +01:00
2021-09-20 16:50:37 -04:00
2021-11-15 10:14:14 -05:00
2021-11-08 21:34:54 -05:00
2021-09-20 16:50:37 -04:00
2021-09-20 16:50:37 -04:00