Stian Jensen

Results 110 comments of Stian Jensen

I actually did ask a related question to this previously and their answer then was 'squash old migrations or edit them': https://code.djangoproject.com/ticket/35234 That wasn't in context of how to publish...

Nice! From April 30th 2025, 20 and 22 will be the only supported node versions: https://endoflife.date/nodejs Perhaps it makes sense to also drop support for node 14 and 16 soon.

Still not stale. Also running into this!

Unsure if/how the snapshot changes here are related to the Chokidar upgrade 🤔

Ah, right – I overlooked the fact that globs are used in some of the watcher.add calls after initially creating the watcher! I can come back to this as soon...

Really feels like these two contradict eachother 🤔

Prefer to use a ref instead of ids to link your button and popover together instead. Declare a ref with useRef in your component, and set ref on your button...

If this is while running on Github Actions CI, it's probably due to their very slow disk I/O.

For reference, here is the implementation of the automatic manager wrapping that django-money performs: https://github.com/django-money/django-money/blob/57f6d8ccb8a89476379656b1b7333e8195d2d767/djmoney/models/managers.py#L226 And here it's applied to models with a MoneyField: https://github.com/django-money/django-money/blob/57f6d8ccb8a89476379656b1b7333e8195d2d767/djmoney/models/fields.py#L366

If adding proper stubs to the manager wrapping helps, I can look into that.