Django Complete Masterclass (45 Chapters, 15 Phases)
📌 Covered in this course:
What is Django? · Prerequisites · Installation & Setup · Project Structure · Creating Apps · URL Routing · Function-Based Views · Request & Response · Django Templates · Template Inheritance · Static & Media Files · Models · Migrations · QuerySets · ORM CRUD · Relationships · Query Optimization · Django Admin · Forms & Model Forms · Validation · CBVs · Auth & Custom User · Permissions · Security · DRF & Serializers · ViewSets & Routers · Testing · Celery & Async · Docker, Deployment & Quiz
Welcome to Our Compiler's Django Complete Master Course. Django is the batteries-included Python web framework used to build secure, database-backed web applications rapidly. This comprehensive 45-chapter bootcamp guides you through MTV architecture, ORM models, administration, views, templates, forms, authentication, Class-Based Views, Django REST Framework (DRF), and production deployment.
🎯 Ready to Master Django Web Engineering?
Choose where to start: explore Django introduction, project setup, URL routing, ORM models, forms, or Django REST Framework:
📚 Master Course Curriculum
Phase 01
Django Basics & Setup
01
1. What is Django?
Django ante enti? · Django enduku use chestaru? · Django vs Flask · Django vs FastAPI · Django features · Full-stack framework ante enti? · MTV architecture · Batteries-included framework · Django use cases · Django advantages · Django limitations · Django ecosystem
Read Chapter →
02
2. Python & Web Prerequisites
Python basics · Functions · Classes and OOP · Modules and packages · Exceptions · Lists and dictionaries · Decorators · Virtual environments · HTML and CSS · HTTP basics · SQL basics · Git basics · REST API basics
Read Chapter →
03
3. Django Installation
Python installation · Checking Python version · Creating virtual environment · Activating virtual environment · Installing Django · Checking Django version · Installing VS Code · Django extension · requirements.txt · Common setup errors
Read Chapter →
04
4. Creating a Django Project
django-admin · startproject · manage.py · Project package · settings.py · urls.py · asgi.py · wsgi.py · Running development server · Changing port · Stopping server · Project errors
Read Chapter →
05
5. Project Structure
Project vs app · manage.py · settings.py · Root urls.py · asgi.py · wsgi.py · App models.py · App views.py · App urls.py · App admin.py · App apps.py · migrations · tests.py
Read Chapter →
06
6. Creating Django Apps
App concept · startapp · INSTALLED_APPS · Modular design · Reusable apps · App config · App registry
Read Chapter →
Phase 02
Routing & Views
07
7. URL Routing
URL dispatcher ante enti? · urlpatterns · path · include · URL names · Route parameters · Integer parameters · Slug parameters · Query parameters · App-level URLs · Namespace · URL reversing
Read Chapter →
08
8. Function-Based Views
View ante enti? · Request object · Response object · HttpResponse · render · redirect · GET request · POST request · JSON response · Status codes · Request headers · View decorators
Read Chapter →
09
9. Request & Response
request.method · request.GET · request.POST · request.FILES · request.user · request.session · Request headers · Cookies · JSON request body · JsonResponse · Redirect response · File response · Streaming response
Read Chapter →
Phase 03
Templates & Static Files
10
10. Django Templates
Template ante enti? · Templates directory · render · Template variables · Template tags · Template filters · Conditions · Loops · Comments · Escaping · Template context · Built-in filters
Read Chapter →
11
11. Template Inheritance
Base template · {% extends %} · {% block %} · Header block · Sidebar block · Footer block · Includes · Reusable components · Active navigation · Layout architecture
Read Chapter →
12
12. Static & Media Files
Static files ante enti? · CSS files · JavaScript files · Images · {% load static %} · STATIC_URL · STATICFILES_DIRS · collectstatic · Media files · User uploads · MEDIA_URL · MEDIA_ROOT · Static production setup
Read Chapter →
Phase 04
Models, Database & ORM
13
13. Models
Model ante enti? · Model class · Database table · Model fields · Primary key · CharField · TextField · IntegerField · BooleanField · DateTimeField · DecimalField · SlugField · FileField · ImageField · Model metadata
Read Chapter →
14
14. Migrations
Migration ante enti? · makemigrations · migrate · Migration files · Applying migrations · Reversing migrations · Fake migrations · Migration conflicts · Data migrations · Production migrations · Migration best practices · Migration testing
Read Chapter →
15
15. QuerySets
QuerySet ante enti? · all() · get() · filter() · exclude() · first() · last() · exists() · count() · order_by() · values() · values_list() · Lazy evaluation · Query debugging
Read Chapter →
16
16. ORM CRUD
Creating records · save() · create() · Reading records · Updating records · update() · Deleting records · delete() · Bulk operations · get_or_create() · update_or_create() · ORM errors
Read Chapter →
17
17. Relationships
One-to-one · Foreign key · Many-to-many · OneToOneField · ForeignKey · ManyToManyField · related_name · on_delete · Cascade delete · Protect behavior · Reverse relationships · Nested objects
Read Chapter →
18
18. Query Optimization
select_related · prefetch_related · N+1 query problem · only · defer · Database indexes · db_index · Query logging · explain · Pagination performance · Bulk queries · Query optimization checklist
Read Chapter →
Phase 05
Admin & Forms
19
19. Django Admin
Django admin ante enti? · Superuser · Admin login · Registering models · List display · Search fields · List filters · Ordering · Read-only fields · Inline models · Custom admin actions · Admin permissions
Read Chapter →
20
20. Django Forms
Form ante enti? · forms.Form · Form fields · Text field · Email field · Choice field · File field · Form rendering · Form submission · is_valid() · cleaned_data · Form errors
Read Chapter →
21
21. Model Forms
ModelForm · Meta class · Selecting model fields · Excluding fields · Custom widgets · Labels · Help text · Field validation · Save form · Commit false · Update existing model · ModelForm security
Read Chapter →
22
22. Form Validation
Required validation · Field validation · clean_() · Form-level clean() · Custom validators · Validation messages · Duplicate validation · Cross-field validation · File validation · Security validation
Read Chapter →
Phase 06
Class-Based Views
Phase 07
Authentication & Authorization
24
24. Authentication
Authentication ante enti? · Built-in User model · User registration · Login · Logout · Password hashing · Sessions · Cookies · login_required · Current user · Password change · Password reset · Email verification
Read Chapter →
25
25. Custom User Model
Why custom user model? · AbstractUser · AbstractBaseUser · Custom fields · Email login · User manager · AUTH_USER_MODEL · Migration planning · Admin integration · Custom user testing
Read Chapter →
26
26. Authorization
Authentication vs authorization · Permissions · Groups · Staff users · Superusers · Object-level permissions · Permission decorators · Permission mixins · Role-based access · Admin-only pages · Course author access · Authorization testing
Read Chapter →
Phase 08
Security
Phase 09
Django REST Framework (DRF)
28
28. Django REST Framework
Django REST Framework ante enti? · Django vs DRF · REST API basics · Serializers · API views · Generic views · ViewSets · Routers · Authentication · Permissions · Pagination · Browsable API
Read Chapter →
29
29. Serializers
Serializer ante enti? · ModelSerializer · Serializer fields · Read-only fields · Write-only fields · Nested serializers · Custom validation · Serializer method fields · Create behavior · Update behavior · Serializer errors · Response serialization
Read Chapter →
30
30. API Views
APIView · GET method · POST method · PUT method · PATCH method · DELETE method · Response · Status codes · Request data · Error responses · Permissions · API testing
Read Chapter →
31
31. ViewSets & Routers
ViewSet ante enti? · ModelViewSet · List action · Create action · Retrieve action · Update action · Destroy action · Custom actions · Routers · DefaultRouter · URL generation · ViewSet permissions
Read Chapter →
32
32. API Authentication
Session authentication · Token authentication · JWT overview · IsAuthenticated · AllowAny · IsAdminUser · Custom permissions · Object permissions · Role-based API access · Authentication errors · Permission testing · Throttling
Read Chapter →
33
33. API Permissions
IsAuthenticated · IsAdminUser · IsAuthenticatedOrReadOnly · Custom BasePermission · has_permission · has_object_permission · Role-based API control
Read Chapter →
34
34. Pagination & Filtering
Page pagination · Limit-offset pagination · Cursor pagination · Search filters · Ordering filters · Field filters · django-filter · Query parameters · Pagination response · Filter security · Performance · API documentation
Read Chapter →
Phase 10
Testing
35
35. Testing
Why testing is needed · TestCase · Test client · URL tests · View tests · Model tests · Form tests · Authentication tests · Database tests · Fixtures · Test setup · Test teardown
Read Chapter →
36
36. API Testing
DRF APIClient · GET endpoint tests · POST endpoint tests · Authentication tests · Permission tests · Validation tests · Status code tests · JSON response tests · Pagination tests · Error tests · Integration tests · Coverage
Read Chapter →
Phase 11
Background Tasks & Async
37
37. Background Tasks
Background task ante enti? · Long-running tasks · Email sending · Report generation · Celery overview · Redis broker · Task workers · Retry tasks · Failed tasks · Scheduled tasks · Task monitoring · Idempotent jobs
Read Chapter →
38
38. Async Django
Async views · async def · await · ASGI · Async middleware · Async ORM methods · Async external API calls · Sync-to-async · Async limitations · Async testing · When to use async · WSGI vs ASGI
Read Chapter →
Phase 12
Caching & Signals
39
39. Caching
Cache ante enti? · Per-site cache · Per-view cache · Template fragment cache · Low-level cache API · Redis cache · Cache keys · Cache invalidation · Timeout · Cache headers · Database caching · Cache testing
Read Chapter →
40
40. Signals
Signal ante enti? · post_save · pre_save · post_delete · User creation signal · Profile creation · Signal registration · Signal limitations · Signals vs services · Testing signals
Read Chapter →
Phase 13
Advanced Management
Phase 14
Containerization & Deployment
42
42. Docker & CI/CD
Docker ante enti? · Python Dockerfile · Installing dependencies · Gunicorn command · Database container · Redis container · Docker Compose · Environment variables · GitHub Actions · Test pipeline · Build pipeline · Deployment pipeline
Read Chapter →
43
43. Deployment
Development server limitations · WSGI · ASGI · Gunicorn · Uvicorn · Daphne overview · Worker processes · Timeouts · Graceful shutdown · Static files · Media files · Production logging · Cloud hosting · Managed database · HTTPS · Backups
Read Chapter →
Phase 15
Projects & Certification
44
44. Django Projects
Beginner Projects (Personal Blog, Task Manager) · Intermediate Projects (E-commerce Store, Auth Portal) · Advanced Projects (Our Compiler Django App Platform, DRF API Service) · Complete Architecture & Code Specs
Read Chapter →
45
45. Django Practice Quiz
Comprehensive Django Knowledge Check · 30 Multiple Choice Certification Exam Questions · MTV, ORM, Views, Templates, Forms, Admin, Auth, DRF & Security
Read Chapter →