New newsletter: Django News - Django 5.2 Fixes, Wagtail Updates & GeoDjango Mapping - Apr 18th 2025
New newsletter: Django News - Django 5.2 Fixes, Wagtail Updates & GeoDjango Mapping - Apr 18th 2025
Junie did mostly a great job, but where it failed miserabily was, when I asked it to integrate django-templated-email-md. I did a subtle typo and just asked for django-templated-mail-md. The result is, that it created disfunctional code that almost looked like it could work and followed the README of the correct project. But the main import included my typo and to solve the tests, Junie mocked almost everything to run tests successully.
Just checked, Claude Code did the same.
We’ll be at @pycon US 2025, and hope to see the #Django community and all our Python friends there https://www.djangoproject.com/weblog/2025/apr/18/see-you-at-pycon-us-in-pittsburgh/
Django Middleware Explained: A Beginner-Friendly Guide
Done for today. My AI quota is almost used for this month. I did the same tasks over the evening with claude code too. Effectively this experiment costed $15, so it is fair that my monthly quota with Jetbrains is consumed. Jetbrains AI costs $10 on the Pro plan.
I have to review the docs tomorrow, then I am actually ready to release this library.
@t_redactyl I have an AI Pro subscription. How many tokens are included within this package? S, M, L are nice information for t-shirts, but for a software package it is quite abstract. I ask because PyCharm just told me, that I will have consumed my complete usage limit soon and I jused the feature today.
#nowplaying während der #abendrunde mit #django
#fisherz - #redskies over #Paradise
Di ersten drei #alben habe ich gefeiert
#nowplaying während der #abendrunde mit #django
#krokus - #americanwoman
Recht schlichter Song, aber ein geiler Riff
Ich liebs
Ist übrigens ein #cover
Im Original von #TheGuessWho
I excepted that the agent was able to setup a proper action for GitHub, but that it was aware of Codeberg and Forgejo surprised me. Very handy. Saved me the time to read the documentation. ;)
https://codeberg.org/oliverandrich/django-solomon/src/branch/main/.forgejo/workflows/tests.yml
But for simple prompts prompts like the following, it could be a bit faster to be honest.
> Commit and push the changes.
Basically Junie always does the best job of the agents I tested so far. But the speed is quite slow. The reason for this is obvious, it always analyses the situation, runs the test suite and iterates through changes. It creates way less errors or broken tests compared to others.
Pretty happy with the rate limiting Junie implemented. But what I don't enjoy it, is that it always needs a reminder to achieve for 100% test coverage. Something that I would expect from a AI Agent. Especially, if it forgets signifikant test cases, it generates afterwards.
https://codeberg.org/oliverandrich/django-solomon/commit/a2fe5b541fe6214e92c17c0845a3b04c0d893910
Wondering what Wagtail is all about? We got a webinar for you! Come see the newest version of Wagtail in action and meet the experts behind the world's most popular Python-powered CMS. There are two dates to choose from to accommodate our worldwide fans.
Next iteration. I played stupid and ask for some proposals how to enhance the token security. I received 10 proposals including implementation details and benefits. As a good client, I asked for 2 out of ten. ;) Of course the proposals included what I would have done myself.
Junie has one weakness in Django projects. It tends to forget to create a migration on the first run. Sounds fixable. I create a ticket for it.
Of course Junie added changes that violated some rules of ruff. Even though these are no errors, but they provides better code quality. I asked Junie to commit and push the changes. This triggered the pre-commit hooks and Junie parsed the ruff output and fixed all issues. Nice.
Pycharm 2025.1 is out & I installed last night.
Surprise inclusion of another AI tool, Junie.
I've got used to working with AI Assistant so gave Junie a quick go to improve an old callback handler for social account deletion.
Impressive stuff again from Jetbrains. It did what I was looking at doing & more to tidy up a couple of classes.