Commit graph

16 commits

Author SHA1 Message Date
bronsen
86ccdd58ee [logs] set up and use structlog in our app 2025-03-15 21:57:13 +01:00
bronsen
2e31cf8047 [settings] remove authenticator settings: we don't have users 2025-03-15 21:56:21 +01:00
bronsen
4d96f60b46 [settings] more robust detection of deployment
Retrieve it only once from env, make it an uppercase string
2025-03-15 21:55:43 +01:00
bronsen
ecd80c291a [deployment] select .env according to env var 2025-03-14 14:15:51 +01:00
bronsen
063b2959a6 [project] settings.py react to the DEPLOYMENT variable 2025-03-14 12:43:38 +01:00
bronsen
c1383ca376 [dev] add django debug toolbar to dev env 2025-03-13 19:55:08 +01:00
bronsen
30f6d6c8c1 [config] load testing env when under pytest 2025-03-13 17:15:23 +01:00
bronsen
d6ff246804 [codestyle] format settings module 2025-03-12 23:13:14 +01:00
bronsen
804bce4719 [django] set timezone and disable i18n 2025-03-12 23:12:41 +01:00
bronsen
59368e86ae [django] activate collector app 2025-03-12 22:32:26 +01:00
bronsen
8cc5d405b4 [dev] install django-extensions for shell_plus and show_urls 2025-03-12 21:39:43 +01:00
bronsen
92e38ffb37 [django] condense settings file by removing empty lines 2025-03-12 21:20:36 +01:00
bronsen
56a03452d8 [codestyle] remove unused import 2025-03-12 18:17:10 +01:00
bronsen
5837d0d86c [django] configure settings via django-environ
django-environ reads from a file `.env` which is not under version
control.

Perhaps we should add a `.env.dist` or similar.
2025-03-12 18:16:13 +01:00
bronsen
e6b75c8046 [config] make sure django finds itself in our config folder 2025-03-12 17:33:04 +01:00
bronsen
eb010e1736 [project] start project
doesn't even have requirements yet, so manage.py won't work
2025-03-12 17:23:58 +01:00