When should you avoid Django signals?
PICTURE THIS: DATA SPLIT
Fit on train, tune on val, report on test once.
Simple meaning
Avoid them for core business rules that callers must understand
WHY — Signals instead of guessing?
Why interviewers care about Signals:
on Signals.
the situation, the default choice, and one exception - that reads as experience.
Name the idea, why it exists, then one short example.
End with when you use it and one common pitfall.
STEPS — What happens step by step?
Before you speak the answer, walk the interviewer through these steps:
- 1Avoid them for core
business rules that callers must understand
- 2a service function is
easier to trace.
- 3Signals hide control flow,
can recurse if a receiver saves the same model, and are harder to test in isolation.
- 4Prefer explicit calls, or
transaction.on_commit for work that must run only after a successful commit.
- 5Common mistake
What juniors usually get wrong.
- 6Close
When you pick this over the alternative.
EXAMPLE — See it in action
Here's a short line you can speak, broken into clear beats:
Note: Adapt this scaffold to your own project — keep it under 60–90 seconds.
Key takeaway
Avoid them for core business rules that callers must understand a service function is easier to trace.