ls -la blog/
Filter by tags:
Standard Django testing is verbose. Discover why the Python community is moving to Pytest, how to use Fixtures effectively, and how to reduce your testing boilerplate by 50%.
Users rarely report bugs; they just uninstall your app. Learn how to integrate Sentry to get real-time alerts and stack traces the moment your code crashes in production.
Middleware is the "Onion" of Django. Learn how to write custom hooks that process every request entering your application and every response leaving it.
The Equifax breach was caused by a single unpatched library. Learn how to audit and update your dependencies using pip-audit and npm audit to prevent security catastrophes.
Hardcoding API keys in your settings file is a security recipe for disaster. Learn how to use python-decouple to manage your environment variables safely.
Learn how to use Django Signals to decouple your application logic. We explore the classic use case of auto-creating User Profiles and discuss when you should avoid signals.
Is your Django app running slow? The culprit is likely your database queries. Learn how to use select_related, prefetch_related, and indexes to speed up your application.
Stop the "it works on my machine" excuses. Learn how to containerize your Django and PostgreSQL application using Docker and Docker Compose.
Explore Python decorators, one of the most powerful features of Python, with practical examples and use cases.
Learn the fundamentals of Django web framework, from setting up your first project to creating models and views.