/django-tutorials

Django Tutorials for CSC309 2022

Primary LanguagePythonMIT LicenseMIT

Django Tutorial Series

This is a tutorial series for Django, as offered for tutorial sessions for CSC309, Fall 2022 at the Department of Computer Science, University of Toronto. This tutorial series is complementary to the the CSC309 lecture materials.

Structure

Over the course of three weeks, students will develop a dummy twitter-like web applications, starting from simple HTML pages (through django-templates), and ending with a functional web app accompanied by a RESTful API. The tutorial series is structured as follows:

  1. Week 1: Django intro and setup, Forms, Views (function and class-based), ORM, Auth, Admin panel, and Templates
  2. Week 2: Custom models, Migrations
  3. Week 3: Virtualenv, Rest framework

The answers to the tutorial questions are available in the week-3 directory.

License

This tutorial series is licensed under the MIT License.