Tutorials
In-depth guides written by Mentai mentors.
Browse by category
Filter by topic
All
ai
airtable
android
appliances
architecture
asana
automation
backend
backup
best-practices
celery
ci
django
Show all 83 tags Show fewer tags
cloudflare
cms
configuration
cost-management
crm
database
data-management
data-transfer
debugging
deployment
devops
diy
dns
docker
email
error-handling
frontend
git
github-actions
google-sheets
home-setup
htmx
internal-tools
linear
linux
llm
logging
macos
make
mobile
models
moderation
monitoring
nas
networking
nginx
no-code
notion
parental-controls
payments
performance
pgvector
postgresql
postmark
privacy
productivity
prompting
python
raspberry-pi
recovery
redis
render
retool
search
sentry
smart-tv
ssl
storage
stripe
testing
tooling
troubleshooting
typeform
ups
validation
version-control
webflow
wi-fi
workflow
zapier
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
How to Find and Fix N+1 Query Problems in Django Using Debug Toolbar
Install Django Debug Toolbar and use the SQL panel to identify duplicated queries and fix them with select_related and prefetch_related.
Development
database
django
performance
By
Tai
·
Mentor
98 views
· 28 min read
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