656a96f55cfbd466c85880c0d5f6fef6f87bb661
Replaced single `url` parameter with explicit `url_name` (URL pattern name resolved via `reverse()`) and `href` (literal path). Fixes:
- Silent fallback (typos like `"ad_puchase"` silently became broken links) → now raises `NoReverseMatch` at render time
- `type(url) is str` gate → removed (implicit dual-mode eliminated entirely)
- Callable parameter (`url: Callable`) dead code → removed
- Implicit dual-mode (`url="name"` vs `url=reverse("name")`) → `url_name` vs `href` are now mutually exclusive params
- Inconsistent type annotation mixing `Callable` with string default → cleaned up
- Added `ValueError` when both `url_name` and `href` are provided
- Updated all 10 call sites across 6 view files and internal callers (`LinkedPurchase()`, `NameWithIcon()`)
Timetracker
A simple game catalogue and play session tracker.
Development
The project uses pyenv to manage installed Python versions.
If you have pyenv installed, you can simply run:
make init
This will make sure the correct Python version is installed, and it will install all dependencies using poetry.
Afterwards, you can start the development server using make dev.
Description
Releases
23
Languages
Python
43.7%
CSS
28.1%
HTML
24%
JavaScript
3.3%
Dockerfile
0.4%
Other
0.5%