Notes on my journey learning to code with Python & Django
AMartin1987 | Published on: Aug. 8, 2025, 9:27 p.m.
A lot has happened since the last post. From now on I'll try to post here more regularly 😅
Last year I started studying Crossplatform Applications Development at IES Dr Balmis, while making some bucks as a clickworker (UHRS) to contribute to our home expenses. So I was busy with that.
Specifically, in the last months I've been working on my C# exercises in order to improve my notes at the Programming module in DAM. And, more recently, I came back to continue working on my own projects. I started by revisiting this blog (which is made with Django) and introducing the necessary changes to deploy it in production mode. For instance, I had to set it to start automatically host its media files through Cloudinary, since I discovered that setting DEBUG = False
in settings.py prevents Vercel from serving the project's static files automatically.
Moreover, I discovered that in production Django won't serve static files by itself, so I learned that I had to set a library called WhiteNoise to do that. It's a middleware that takes over the job of serving the CSS, Javascript and media. And it's a great solution because, besides being pretty easy to set up, it automatically serves compressed versions of the static files (e.g., in GZip) if the browser allows it, leading to faster loading times and reduced bandwidth consumption.
Finally, I created a develop branch for this blog so I can start introducing changes there first, instead of directly in the main branch (If you happen to look at the old commits on main... please ignore them, it won't happen again, lol)
But I think the greatest news for me these days is that I got myself a new device to apply concepts learned in DAM and work on some new ones: I got a cheap but amazing-for-my-needs SBC at Wallapop 🥰 an Urve Pi, which is a polish clone of Raspberry Pi. I already got it working with Debian 11 and we're ready to embark on new adventures ✨ So I'll be writing about that in my nexts posts.
Ale 💜🌿
PD. My videogame husband of these days is: strong and loyal Farkas
('cause it's always nice to hear your fictional husband say that if he finds anyone "working against my wife, I'll beat them to death with their own severed head". Also, he bakes excellent homemade pies)
My name is Alejandra and I'm learning Python & Django to become a backend developer. I also love videogames, anime, plants and decorating my home.
You can contact me at alejandramartin@outlook.com
You can also visit my portfolio.