Tag: django
All the articles with the tag "django".
Schema-First API Development with DRF + React: OpenAPI as the Contract
How my team ships DRF + React features without ever hitting a mistyped param or outdated API call: drf-spectacular as the source of truth, generated zod clients, auto-generated forms, and strict typing on both sides.
nplus1: A Modern N+1 Query Detector for Django, SQLAlchemy, and Peewee
A maintained, improved successor to nplusone — no more false positives on nullable foreign keys, stack traces in every detection, batch reporting, and full strict typing.
django-i18n-fields: Multilingual Model Fields for Django
Database-agnostic localized model fields built on Django's JSONField — with DRF serializers, strict type checking, and a clean admin UI. An alternative to django-localized-fields and django-modeltranslation.
Python API Framework Benchmark: FastAPI vs Django vs Litestar on Real Database Workloads
I benchmarked the major Python web frameworks against real PostgreSQL workloads. The 20x performance gap you see in JSON benchmarks collapses to 1.3x once the database gets involved.