Django Tutorial Content List
1. Introduction to Django
What is Django?
Django vs Other Frameworks
Installing Django
Creating a Django Project
2. Project Structure
Understanding Django Project Layout
Settings, URLs, WSGI/ASGI, and Manage.py
Creating Django Apps
3. Django Views and URLs
Creating Views
URL Routing and Patterns
Using Path and Re_path
Dynamic URLs
4. Templates
Creating and Rendering Templates
Template Language and Filters
Template Inheritance
Static Files (CSS, JS, Images)
5. Models and Databases
Defining Models
Model Fields and Options
Migrations (makemigrations and migrate)
Admin Interface
6. Django ORM (Object-Relational Mapping)
QuerySets and Managers
Filtering and Querying Data
Creating, Updating, and Deleting Records
Relationships: OneToOne, ManyToMany, ForeignKey
7. Forms and User Input
Creating Forms with Django
Form Validation
ModelForms
Handling Form Submission
8. User Authentication and Authorization
User Model and Authentication System
Login, Logout, and Signup Views
User Permissions and Groups
Custom User Model
9. Class-Based Views (CBVs)
Introduction to CBVs
Generic Views (ListView, DetailView, etc.)
Mixins and Custom CBVs
10. Advanced Template and Frontend Integration
Using Bootstrap with Django
Template Tags and Custom Tags
Pagination
11. Django REST Framework (DRF)
Introduction to REST APIs
Installing DRF
Serializers and Views
Routers and ViewSets
Authentication and Permissions in DRF
12. Testing in Django
Unit Testing Models and Views
Using Django’s Test Client
Writing and Running Tests
13. Deployment
Preparing for Deployment
Static Files Handling with Whitenoise
Deploying to Heroku or PythonAnywhere
Using Gunicorn and Nginx
14. Project Work (Capstone Projects)
Blog Application
E-commerce Website
Todo List API with DRF
Portfolio Website