Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

paulcollinsiii/learning-django

 
 

Repository files navigation

Learning Django

Learning Django is a series of training materials originally created for the San Diego Python Users Group loosely based off of the Django tutorials

Overview

Learning Django takes students step-by-step through the creation of a very simple restaurant review website in order to illustrate some of the features of Django such as the following:

  • Model-view-controller
  • Getting started
  • Querysets
  • Forms & validation
  • Class-based views
  • Admin
  • Debugging Django applications

Code companion

In addition, Learning Django provides the restaurant review site code. After going through the slides, students are supposed to download the code and show off their newly acquired skills by adding features to the restaurant review application. Some suggestions for features include:

  • Add a phone number field to restaurants
  • Add the ability to search for restaurants by zip code
  • Rewrite CreateReviewView to use django.views.generic.edit.CreateView
  • Add a 1-5 star rating system for reviews and calculate average

Generating slides

  • Make sure you have the prerequisites

    % pip install -r requirements.txt
  • Create the presentations

    % make

About

Django training presentations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published