Git: count commits with rev-list đź”—
git rev-list lists details about commits (also known as “revisions”, hence the name). Its --count option outputs the count of commits in the given ran [...]
a collection of dev rss feeds - blogroll
Posts
git rev-list lists details about commits (also known as “revisions”, hence the name). Its --count option outputs the count of commits in the given ran [...]
Here are some Django-related deals for this year’s Black Friday (29th November) and Cyber Monday (1st December), including my own. I’ll keep this post [...]
I have just released the second update to Boost Your Django DX, my book of developer experience (DX) recommendations for Django projects. This update [...]
Happy DjangoCon US 2024 to you. Whilst I am not there, I have adopted the spirit of the season and got to work hacking together a new tool. Djade is a [...]
Git doesn’t store reversion links between commits. It only relies on commit messages to track this information. When you run git revert, the default m [...]
uv is a new, fast Python packaging tool. (I believe it is pronounced as written, “uhv”, rather than spelt out like “you-vee”. This saves a syllable, f [...]
Django’s test client provides two methods to log in a user: login() and force_login(). The latter one is faster because it bypasses the authentication [...]
Django provides us with a rich set of view decorators. In this post, we’ll look at a technique for hoisting repeated use of these decorators to reduce [...]
Here’s an example of a common pattern in Django projects: from acme.api import APIClient from django.conf import settings acme_client = APIClient(api [...]
Recently, I built a Microsoft Teams bot for a client, inside their Django project. It wasn’t fun or easy, but the experience did increase my resilienc [...]