Django and Python Full Course
Beginner Level
Topics:
- 1. Introduction to Python
- 2. Variables, Data Types, and Operators
- 3. Control Structures (if, for, while)
- 4. Functions and Modules
- 5. Introduction to Django
- 6. Setting up a Django Project
- 7. Models, Views, Templates (MVT) Overview
Examples & Tasks:
- Example: Write a function to calculate the sum of numbers in a list.
- Task: Build a simple Django project that displays 'Hello, World' on the homepage.
Intermediate Level
Topics:
- 1. Django Models and Admin
- 2. Forms and User Input
- 3. Django REST Framework Introduction
- 4. Serializers and ViewSets
- 5. Authentication with DRF
- 6. Working with Relationships in Models
Examples & Tasks:
- Example: Create a DRF serializer for a blog post model.
- Task: Build a REST API for managing a library's books and authors.
Advanced Level
Topics:
- 1. Custom Permissions and Authentication
- 2. API Versioning and Throttling
- 3. Performance Optimization (select_related, prefetch_related)
- 4. Writing Unit Tests for APIs
- 5. Deployment with Docker and Gunicorn
Examples & Tasks:
- Example: Write a custom permission class for DRF.
- Task: Deploy your Django API to Heroku or any cloud provider.