https://github.com/django/django/pull/16386

What an honor! I would like to notice that I contributed to Django. It is so touching for me to commit to the project that I have used for my whole career.

I was spending an end-year vacation. I wanted to have a retrospective time and to study something that I have postponed due to a busy schedule. By chance, I found an error report opening a read connection of Redis even though it requires a writing operation.

The developer who made the PR already wrote the revision code resolving the problem. Just out of curiosity, I checked the code change and there was one point that came to my mind.

A cache object was dependent on other test cases. The test code was asserting that the result of incr operation. Of course, it was green since the test logic itself was fine. However, another test case was declaring the cache object, which means that if that case is revised or deleted, the change will break this test case.

I suggested changing the name of the cache key and the contributor accepted it. My code change that revises the cache key became a part of the Django code. What a moment 🙂

Author ✍🏼

Sin-Woo Bang

Check other posts on Sin-Woo Bang Blog

Introduction of Sin-Woo Bang