Hugo Content Adapter

This post is more of a story about how I used Hugo and its features. 🤠 I’m creating a website for something related to my research (I’ll share it here soon) where I need to generate multiple pages from JSON files for a static site. I’ve been using Hugo on this blog since 2018, and although there are other great options out there, I always end up trying to do things with it. ...

April 14, 2025 · 3 min

Replace Django ORM Function

Today I learned: Replace function in Django’s ORM. Sometimes we stumble across a bug or a change in the business logic that forces us to change the value of a column based on another from the same table. I thought that Django might have this solved and indeed it has through the database functions. In my case I had to update the value of a column replacing its current value and, at the same time, using the value of another column. This was possible with little code using the function Replace. ...

April 2, 2021 · 1 min