django-planet

Blog: Anže’s Blog

web https://blog.pecar.me/
Author Anže

Django Streaming HTTP Responses

March 21, 2024 » Anže’s Blog » [Archived Version]

How and when to use Streaming HTTP responses and when not to.

Read More

I made a YouTube video!

March 18, 2024 » Anže’s Blog » [Archived Version]

I made a video of me deploying a new Django project to my Raspberry Pi.

Read More

Thoughts on Code Reviews

March 6, 2024 » Anže’s Blog » [Archived Version]

My thoughts on code reviews.

Read More

Django SQLite Benchmark

Feb. 6, 2024 » Anže’s Blog » [Archived Version]

How to configure SQLite for better throughput with Django.

Read More

Django, SQLite, and the Database is Locked Error

Jan. 16, 2024 » Anže’s Blog » [Archived Version]

Explains `database is locked` errors in Django when using SQLite, and how to solve them.

Read More

No Downtime Deployments with Gunicorn

Jan. 2, 2024 » Anže’s Blog » [Archived Version]

This article shows how to achieve zero-downtime deploys of your Django, Flaks, or FastAPI app using only Gunicorn. It explains how to reload the Gunicorn process with the -HUP signal using systemd or the kill command directly making sure no requests are dropped during the upgrade.

Read More

SQLite Write-Ahead Logging

Nov. 3, 2023 » Anže’s Blog » [Archived Version]

Speed up your SQLite writes and reads with this crazy trick. 🤪

Read More

Writing a Pytest plugin

Oct. 6, 2023 » Anže’s Blog » [Archived Version]

How to write a simple pytest plugin.

Read More

Introducing Fedidevs Posts

Sept. 16, 2023 » Anže’s Blog » [Archived Version]

Discover the most favorited posts from developers on Mastodon with Fedidevs Posts.

Read More