bronsen
|
f1ab7afb6f
|
[tests] Ensure it is ok the enter the same name twice
|
2025-03-13 18:41:20 +01:00 |
|
bronsen
|
819bbfc7d9
|
[tests] use hypothesis to generate test data
|
2025-03-13 18:13:41 +01:00 |
|
bronsen
|
1f100d329b
|
[pytest] create session-scoped django.test.Client fixture
|
2025-03-13 18:13:16 +01:00 |
|
bronsen
|
55be0c8370
|
[tests] Ensure new Teil is entered into the DB
|
2025-03-13 17:45:01 +01:00 |
|
bronsen
|
8500ebb157
|
[tests] Tell pytest to always create a new db and to NOT run migrations
|
2025-03-13 17:44:32 +01:00 |
|
bronsen
|
3edd39f013
|
[collector view] emit warning log when a Teil aready existed
|
2025-03-13 17:43:46 +01:00 |
|
bronsen
|
30f6d6c8c1
|
[config] load testing env when under pytest
|
2025-03-13 17:15:23 +01:00 |
|
bronsen
|
04cb10d13c
|
[just] add testing recipe
|
2025-03-13 17:14:54 +01:00 |
|
bronsen
|
f1a24af335
|
[tests] Tell pytest where/how to find tests
|
2025-03-13 17:14:26 +01:00 |
|
bronsen
|
27c9a3a35b
|
[collector] can now collect Teile and list them
If a newly entered Teil already exists, we ignore that and do nothing.
"name" could become a primary key...
|
2025-03-13 16:32:31 +01:00 |
|
bronsen
|
1870d50ccf
|
[collector admin] register Teil model in admin
|
2025-03-12 23:52:36 +01:00 |
|
bronsen
|
6214610edc
|
[collector view] rudimentary implementation of list and detail view
|
2025-03-12 23:52:18 +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
|
15279ee99c
|
[collector] rename model to singular form, but provide verbose_name* in Meta
|
2025-03-12 23:11:58 +01:00 |
|
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 |
|