Module 6: Django

Django Overview

Explore Django, a high-level Python web framework that encourages rapid development and clean, pragmatic design. Understand its philosophy, features, and the problems it aims to solve.

Architecture

Understand the architecture of Django, including its request-response cycle, middleware, and URL routing system. Learn how Django follows the Model-View-Template (MVT) architectural pattern.

Models

Learn about defining models in Django, which represent the structure of your application's data. Understand how to create models using Django's ORM (Object-Relational Mapping) system.

ORM

Understand how Django's ORM (Object-Relational Mapping) works to interact with databases. Learn how to perform CRUD (Create, Read, Update, Delete) operations on database entries without writing raw SQL.

Views

Understand how Django handles requests and returns responses using views. Learn about different types of views, including function-based views and class-based views, and how to write view functions to process requests.

Templates

Learn how to use templates in Django to generate dynamic HTML content. Understand how to write template files using Django's template language to display data from views.

Admin Module

Explore Django's built-in admin module, which provides a web-based interface for managing site content. Learn how to register models with the admin site and customize the admin interface.

Handling Forms

Dive into handling forms in Django, including data validation and form rendering. Understand how to create and process forms using Django's form handling features.