New Django Package: Django Simple Docs

July 17, 2026 | Tags: django docs openapi

Using drf_spectacular is not hard. Like, at all. However, I noticed, adding the same kind of URLs, config and all that and every time I have to look up the configuration. I decided to create this package as a way to easily and quickly get started with using drf_spectacular and OpenAPI on a Django Rest Framework API.

[Read more]

More Templates

Feb. 3, 2026 | Tags: automation templates django

I have been thinking a lot about harnessing the power of templates. And I have been doing just that. I realized that, when working with Django/DRF, I always used the same structure for testing the endpoint: a fixture for the URL of the endpoint, another fixture for making the request to said endpoint, checking status code, checking data. So, I added a new template in my dotfiles for doing exactly that.

[Read more]

Automation. No, not like that.

Jan. 19, 2026 | Tags: automation templates

I hate doing the same thing over and over again. Mostly because the fourth, fifth, sixth time I do it, I am tired of it, I will not pay attention and things are bound to go wrong in one way or another. Specifically, I am talking about project setup. For many different reasons, I found myself having to setup multiple projects recently, and I found it annoying. Copy this configuration file, change this value, copy this other configuration file, setup the gitignore, etc.

[Read more]

Unshallow

April 14, 2024 | Tags: git TIL

Whenever you clone a repo with --depth <N> in order to not download all the objects in history, if you then try to push it to, in my case, a different remote, you might encounter this error:

[Read more]

L-Systems

Sept. 23, 2023 | Tags: math generative art fractals

In this post, I want to talk about L-Systems. These are a mathematical object that allows us to model complex recurring figures, almost fractal like structures, that can be defined very well mathematically. In the end, and what I used them for, was to draw beautiful figures.

[Read more]

Python Script Template

Sept. 16, 2023 | Tags: Python shell aliases

I often found myself writing the same basic script whenever I needed to start writing a small script for testing something or for writing a fully fledged program. And, of course, writing the same thing over and over again it gets tedious and boring. At some point, I figured it would be great to have a command that I can invoke and copy, from a template, this base.

[Read more]