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
How to Write Idempotent Django Management Commands
Design management commands that can be safely re-run in any environment without creating duplicates, side effects, or partial database state.
Development
data-management
devops
django
By
Tai
·
Mentor
104 views
· 18 min read
Structuring Django Settings for Local, Staging, and Production Without Duplication
Split settings into a base file and environment-specific files so configuration is clean, environment variables are explicit, and nothing leaks between environments.
Development
configuration
devops
django
By
Tai
·
Mentor
100 views
· 20 min read