Contribute Media
A thank you to everyone who makes this possible: Read More

Introduction to Django

Description

Introduction to Django

Presented by Chander Ganesan

The Django framework is a fast, flexible, easy to learn, and easy to use framework for designing and deploying web sites and services using Python. In this session, we'll cover the fundamentals of development with Django, generate a Django data model, and put together a simple web site using the framework.

Intended Audience

Beginner to Intermediate Python programmers

Class Outline

  • Django Overview and Basic Introduction (~ 5 min)
  • Downloading & Installing Dango (~ 10 min)
  • Creating a new project (~ 5 min)
  • Choosing a database (~ 5 min)
  • Creating a new application (~ 5 min)
  • Installing & Using Django contrib applications (~ 7 min)
  • Overview of Django flow (i.e., URLconf expression, view function, HTTPResponse object, etc.) (~7 min)
  • Generating Simple Dango Views (~ 5 min)
  • Configuring a URLConf for basic views (~ 5 min)
  • Creating Django Templates (template syntax, common filters and tags, loops, etc) (~ 10 min)
  • Creating & using Template Context objects (~ 5 min)
  • Introduction to Django Models (~ 10 min)
  • Defining basic Django models (~ 15 min)
  • Understanding basic model fields & options (~ 15 min)
  • Generating & Reviewing Model SQL (~ 5 min)
  • Adding data to a model (~ 7 min)
  • Simple data retrieval using models (~ 7 min)
  • Working with QUerySets (filters, slicing, ordering, common methods) (~ 10 min)
  • Overview of Q objects (~ 5 min)
  • Using the Admin interface (~ 10 min)
  • Using Generic views (~ 10 min)
  • Access control with sessions & users (~ 10 min)

Requirements

Details

Improve this page