Skip to main content

Tutorials

In-depth guides written by Mentai mentors.

Browse learning paths
All categories Development AI and Workflows Cloud and Infrastructure Consumer Electronics SaaS and Tools No-Code and Automation
All ai airtable android appliances architecture asana automation backend backup best-practices celery ci cloudflare cms configuration cost-management crm database data-management data-transfer debugging deployment devops diy django 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
Newest Popular
entai.dev
How to Set Up Sentry Error Tracking in a Django Application
Integrate Sentry into your Django project to capture unhandled exceptions, slow transactions, and regressions with enough context to fix them quickly.
SaaS and Tools
django monitoring sentry
By Tai Mentor 74 views · 22 min read
entai.dev
How to Set Up Structured Logging in Django for Production Debugging
Configure Django's LOGGING dict to write structured output, route errors to a searchable destination, and attach request IDs so production issues are traceable.
Cloud and Infrastructure
devops django logging
By Tai Mentor 99 views · 25 min read
entai.dev
Configuring Redis as a Django Cache Backend and Session Store
Set up django-redis to handle both page fragment caching and session storage so load times drop and sessions survive server restarts.
Cloud and Infrastructure
django performance redis
By Tai Mentor 94 views · 22 min read
entai.dev
How to Deploy Django Schema Migrations Without Taking the Site Offline
Use a three-phase migration strategy so database schema changes and code updates can be applied in production without a maintenance window.
Cloud and Infrastructure
database deployment django
By Tai Mentor 96 views · 35 min read
entai.dev
How to Set Up Cloudflare R2 as a Django Media Storage Backend
Replace local media file storage with Cloudflare R2 using boto3 so uploaded files persist across deployments and are served from a CDN edge.
Cloud and Infrastructure
cloudflare django storage
By Tai Mentor 89 views · 28 min read
entai.dev
Deploying a Django Application to Render Without Environment Variable Chaos
Structure Django settings and Render service configuration so secrets, database URLs, and environment-specific values are managed cleanly from day one.
Cloud and Infrastructure
deployment django render
By Tai Mentor 82 views · 30 min read
entai.dev
How to Run Django in Docker Without the Common Pitfalls
Set up a production-ready Docker Compose environment for Django, PostgreSQL, Redis, and Celery while avoiding the rebuild, port, and database readiness mistakes that waste hours of debugging.
Cloud and Infrastructure
devops django docker
By Tai Mentor 75 views · 35 min read
entai.dev
How to Run AI API Calls Asynchronously With Celery in Django
Offload slow OpenAI or Claude API calls to Celery workers so Django views return immediately and users receive results through HTMX polling.
AI and Workflows
ai celery django
By Tai Mentor 65 views · 30 min read
entai.dev
Building a RAG Pipeline With pgvector and Django
Set up a retrieval-augmented generation system using PostgreSQL pgvector so your AI assistant answers from your own content instead of hallucinating.
AI and Workflows
ai django pgvector
By Tai Mentor 65 views · 35 min read
entai.dev
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 75 views · 18 min read
entai.dev
How to Enforce Model-Level Validation in Django Using clean()
Implement Django's clean() method to validate business rules at the ORM layer so invalid data is rejected regardless of how the model is saved.
Development
django models validation
By Tai Mentor 72 views · 22 min read
entai.dev
Building a Reusable HTMX Pagination Component in Django
Create a drop-in server-side pagination partial using HTMX and Django's Paginator so list pages update inline without writing any JavaScript.
Development
django frontend htmx
By Tai Mentor 71 views · 25 min read