django-planet

Blog: Anže’s Blog

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

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

Automate Hatch Publish with GitHub Actions

Aug. 18, 2023 » Anže’s Blog » [Archived Version]

Scribbling down how I automated publishing to PyPI with GitHub Actions.

Read More

Words TUI: App for Daily Writing

Aug. 11, 2023 » Anže’s Blog » [Archived Version]

I am coding a TUI application to help me with my daily writing.

Read More

Textual App Auto Reload

Aug. 1, 2023 » Anže’s Blog » [Archived Version]

How to automatically reload your Textual app when code changes occur

Read More