Decoupling Logic with Django Signals: The Observer Pattern
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.
Thoughts, guides, and lessons learned
from building and shipping software.
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.
Stop manually running tests. Set up a Continuous Integration pipeline that automatically tests your code every time you push to GitHub.
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 duplicating logic in your React components. Learn how to extract functionality into Custom Hooks to clean up your codebase.
Stop the "it works on my machine" excuses. Learn how to containerize your Django and PostgreSQL application using Docker and Docker Compose.