Tutorials
In-depth guides written by Mentai mentors.
Browse by category
Filter by topic
All
backend
best-practices
configuration
database
data-management
debugging
devops
django
error-handling
frontend
git
htmx
Show all 20 tags Show fewer tags
Writing Testable Django Views by Separating Logic From HTTP Handling
Structure Django views so business logic lives in service functions that can be unit-tested without a running server or HTTP request.
Development
backend
django
testing
By
Tai
·
Mentor
75 views
· 25 min read
How to Debug a Python KeyError Without Stack Trace Guessing
Learn a systematic method for pinpointing KeyErrors in nested dictionaries using logging, defensive access, and breakpoints.
Development
backend
debugging
python
By
Tai
·
Mentor
72 views
· 22 min read