Articles

Articles

Practical guides on Django, backend engineering, and building products that scale.

The N+1 Problem in Django
Django

The N+1 Problem in Django

Why your ORM is quietly making hundreds of database queries.

10 minMay 2026
Resilient Logging in Django
Django

Resilient Logging in Django

Logs that actually help you when things go wrong in production.

11 minMay 2026
Background Tasks with Celery in Django
Django

Background Tasks with Celery in Django

Move slow work out of the request cycle and keep your users happy.

12 minMay 2026
Error Handling in Go
Go

Error Handling in Go

Stop treating errors as an afterthought. Here's how to make them your most useful debugging tool.

12 minMay 2026
Concurrency in Go: Goroutines, Channels, and Worker Pools
Go

Concurrency in Go: Goroutines, Channels, and Worker Pools

Go makes concurrency feel easy. That's exactly when you need to be careful. Here's how to do it right.

14 minMay 2026
Django ORM Beyond the Basics: Annotations, Aggregations, and Subqueries
Django

Django ORM Beyond the Basics: Annotations, Aggregations, and Subqueries

Most Django apps fetch data and compute it in Python. Here's how to push that work into the database where it belongs.

13 minMay 2026
The Testing Landscape in Django
Django

The Testing Landscape in Django

What tests are, why they matter, and how Django's testing toolkit fits together before you write a single assertion.

14 minMay 2026
Unit Tests in Django with unittest
Django

Unit Tests in Django with unittest

A hands-on guide to writing focused, reliable unit tests using Django's built-in TestCase: models, validators, utilities, and service logic.

16 minMay 2026
Upgrading Django Tests to pytest
Django

Upgrading Django Tests to pytest

Take the unittest suite from Article 2 and migrate it to pytest. See exactly what changes, what stays the same, and why the switch is worth making.

15 minMay 2026
Integration Tests in Django
Django

Integration Tests in Django

Move up the test pyramid and test your views, APIs, and middleware end-to-end with TestClient and DRF's APIClient.

18 minMay 2026
Testing Auth and Permissions in Django
Django

Testing Auth and Permissions in Django

A complete guide to testing login flows, token authentication, custom permission classes, and role-based access control — every boundary, every scenario.

17 minMay 2026
TDD in Practice with Django
Django

TDD in Practice with Django

Build a real product review feature from scratch using test-driven development. Red, green, refactor — one cycle at a time.

20 minMay 2026
Test Data and Isolation in Django
Django

Test Data and Isolation in Django

Scale your test suite without losing speed or confidence. A deep dive into factory_boy, pytest fixture scoping, and hermetic test isolation.

18 minMay 2026
Coverage, CI, and Shipping with Confidence
Django

Coverage, CI, and Shipping with Confidence

The capstone of the series. Measure your suite, run it automatically on every push, make it fast enough that nobody skips it, and know when it is good enough to ship on.

16 minMay 2026