Commit graph

120 commits

Author SHA1 Message Date
bronsen
77c67c637c [collector model] implement __str__() 2025-03-12 23:00:48 +01:00
bronsen
67a4063a21 [collector model] add prefix to name of index 2025-03-12 22:55:48 +01:00
bronsen
1e4d474e23 [dependencies] require django-stubs so the LSP is less confused 2025-03-12 22:55:14 +01:00
bronsen
ac4bf13d1b [collector] make the app a package 2025-03-12 22:33:24 +01:00
bronsen
3ef59b7b70 [dependencies] recompile requirements 2025-03-12 22:32:48 +01:00
bronsen
59368e86ae [django] activate collector app 2025-03-12 22:32:26 +01:00
bronsen
67bb3e0777 [collector] create initial model and migration 2025-03-12 22:32:06 +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
e002a4e272 [just] add runserver recipe 2025-03-12 21:17:46 +01:00
bronsen
592b84625e [collector] start the app that will collect parts data 2025-03-12 21:17:08 +01:00
bronsen
56a03452d8 [codestyle] remove unused import 2025-03-12 18:17:10 +01:00
bronsen
932b1347e5 [just] more linting recipes 2025-03-12 18:16:29 +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
9f22508d4b [dependencies] require django-environ and psycopg 2025-03-12 18:14:50 +01:00
bronsen
e6b75c8046 [config] make sure django finds itself in our config folder 2025-03-12 17:33:04 +01:00
bronsen
89b4e7d650 [dev] add justfile for a few tasks/recipes 2025-03-12 17:29:38 +01:00
bronsen
2c3a0d58ab [dependencies] add requirements files, managed by pip-compile-multi 2025-03-12 17:29:12 +01:00
bronsen
887bee9bf3 [direnv] provide sample envrc 2025-03-12 17:24:29 +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