Python4 min
Python 3.15: Explicit Lazy Imports Faster Startup Without Messy Imports
Python 3.15: Explicit Lazy Imports Faster Startup Without Messy Imports
Tag
4 articles tagged Python.
Python 3.15: Explicit Lazy Imports Faster Startup Without Messy Imports
A practical, step-by-step guide to renaming Django models and fields without losing data or breaking production — covering RenameModel, RenameField, ForeignKeys, and zero-downtime strategies.
A practical guide to finding N+1 query problems in Django with django-debug-toolbar and assertNumQueries, and fixing them with select_related, prefetch_related and Prefetch.
How to add Redis caching to a Django application without shipping stale data: cache backends, key design, the cache-aside pattern, invalidation on save and stampede protection.