it's just a matter of people digging into the problem and working on it, slowly and steadily.
06.08.2025 13:47 β π 1 π 0 π¬ 1 π 0@adamj.eu.bsky.social
π΄ @djangoproject.com blogger and contributor βοΈ Author of three books on Django and Git π Django London co-organizer π¬π§ London / π΅πΉ Lisbon
it's just a matter of people digging into the problem and working on it, slowly and steadily.
06.08.2025 13:47 β π 1 π 0 π¬ 1 π 0Itβs common for folks to turn to a complete reset like this, with several posts like this over the years. There's even this package from @browniebroke.com : pypi.org/project/djan... .
It would be better if we could improve squashmigrations to handle the circular dependency case. It's possible...
π wait til version minus one
05.08.2025 18:15 β π 1 π 0 π¬ 0 π 0time-machine logo, using the Back to the Future font
π°οΈ time-machine 2.17.0 is out!
π§ support and wheels for Python 3.14 and free-threaded builds
β‘οΈ new CLI to help migrate from freezegun to time-machine
π docs now on Read the Docs
β¨ new retro-futuristic logo
time-machine.readthedocs.io/en/latest/ch...
#Python
TIL!
05.08.2025 14:22 β π 1 π 0 π¬ 0 π 0Nice one! A bunch of well written examples to point new Pythonistas to.
04.08.2025 00:30 β π 1 π 0 π¬ 1 π 0hahaha wtaf
04.08.2025 00:28 β π 2 π 0 π¬ 0 π 0βοΈ New post on one use case for custom path converters in Django.
adamj.eu/tech/2025/08...
#Django
π
01.08.2025 16:56 β π 0 π 0 π¬ 0 π 0Heard today about Boost your Git DX from @adamj.eu. Bought it. Read one section, about delta. Shared the tool and the recommended config with colleagues -> they loved it.
Promising for the next chapters!
adamchainz.gumroad.com/l/bygdx
bsky.app/profile/adam...
30.07.2025 17:55 β π 0 π 0 π¬ 0 π 0βοΈ New post on checking package versions with 'importlib.metadata.version()'.
This is a modern replacement for checking package __version__ attributes.
adamj.eu/tech/2025/07...
#Python
βοΈ New post on targeting optimizations within Django ModelAdmin.get_queryset()
Just a small tip on making different optimizations depending on the current admin view.
adamj.eu/tech/2025/07...
#Django
thanks!
wtf gradians??
en.wikipedia.org/wiki/Gradian
Apparently the UK adult verification thing has basically banned blind people from half of the internet because they can't use the verification system π«£
29.07.2025 09:51 β π 2945 π 1061 π¬ 48 π 76brilliant! It's definitely a lot smoother to play now.
26.07.2025 16:54 β π 0 π 0 π¬ 0 π 0macbook, firefox
26.07.2025 16:18 β π 0 π 0 π¬ 0 π 0I played easy mode, it was fun, thanks!
Suggested improvements:
* Increase the font size of the grid - I zoomed to 200% to play
* Make 8 and B more visually distinct colours
* Make it possible to type characters to fill cells
π»
Ouch! Good luck and get well soon...
24.07.2025 21:44 β π 1 π 0 π¬ 0 π 0Initially, I found that some random bug was erasing my zsh history every few months, which got frustrating.
Now I've started using it, I've found the per-Git-repo histories super useful, and I made it my default. I jump between projects which differ in how to invoke their tests, etc.
Oh cool! The demo video really got me wondering, but I've not made the time to properly try it out
www.youtube.com/watch?v=LV0J...
Flash Magic Eraser packet, tagline: Erases up to 100% of impossible stains.
My fantastic technology will fix up to 100% of your impossible problems.
23.07.2025 20:37 β π 3 π 0 π¬ 0 π 0π€ Always fun to join Test & Code and rock out with that intro music
22.07.2025 20:36 β π 3 π 1 π¬ 0 π 0All of my packages don't have a __version__ attribute, they just set version in pyproject.toml. Users can use importlib.metadata.version() if they need to check their versions.
Looks like I removed the attributes in 2019: github.com/pytest-dev/p... . No one ever complained.
I removed __version__ attributes from all my packages... Thereβs now importlib.metadata.version() to retrieve them for arbitrary packages, so I don't see why packages should also go out of their way to maintain them.
That said, it's neat that setuptools makes it so easy!
βοΈ New post on iterating through registered URL patterns in Django
This is a trick Iβve reached for a couple of times, so I thought Iβd write it up.
adamj.eu/tech/2025/07...
#Django
Thanks!
21.07.2025 10:13 β π 1 π 0 π¬ 0 π 0βοΈ New post with a script for finding large commits in Git repositories.
I used this in a new repository to find commits worth ignoring in `git blame`.
adamj.eu/tech/2025/07...
#Git
βοΈ New post on fixing BrokenPipeError in Python scripts.
Python raises this exception when you pipe its output to a command that closes the pipe early, like 'head'.
BrokenPipeError has annoyed me for years, and finally I found a fix in the Python docs!
adamj.eu/tech/2025/07...
#Python
Living
20.07.2025 09:02 β π 1 π 0 π¬ 0 π 0