LearningDjango

Differences between revisions 1 and 10 (spanning 9 versions)
Revision 1 as of 2010-02-23 03:20:54
Size: 651
Editor: pool-173-65-27-166
Comment:
Revision 10 as of 2010-02-24 16:31:23
Size: 1152
Editor: 206
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
For this class, you will not necessarily need django installed to follow along, though it is highly recommended. You will need bzr 2.x in order to get the code that we will be discussing. Instructions for getting the code will be given during the session.
Line 4: Line 6:
What is it?
Installation/Setup
Creating a Project
Creating an Application
Basic View
Custom URL
 1. What is it?
 1. Installation/Setup
 1. Creating a Project
 1. Creating an Application
 1. Configure a Database
 1.
Basic View
 1. Custom URL
Line 12: Line 15:
Models
Meta fields
Field types
Foreign Key/M2M Fields
Inheritance
Translations
 1. Models
 1. Meta fields
 1. Field types
 1. Foreign Key/M2M Fields
 1. Inheritance
 1. Django Admin
 1. String Repre
sentation
Line 20: Line 24:
Forms
Model Forms
Custom Validation
Single Field
Multiple Fields
 1. Forms
 1. Model Forms
 1. Custom Validation
  1. Single Field
  1. Multiple Fields
Line 27: Line 31:
Template
Built in Tags
Built in Filters
Custom Filters
 1. Template
 1. Built in Tags
 1. Built in Filters
 1. Custom Filters
Line 37: Line 41:
teacher
title
start time
end time
wiki link
course
 * teacher
 * title
 * start time
 * end time
 * wiki link
 * course
Line 45: Line 49:
title
start date
end date
 * title
 * start date
 * end date
Line 50: Line 54:
name
email
timestamp
class
comment
 * name
 * email
 * timestamp
 * class
 * comment

=== Channel ===
 * name
 * is logged
 * is moderated
 * ops

Syllabus

For this class, you will not necessarily need django installed to follow along, though it is highly recommended. You will need bzr 2.x in order to get the code that we will be discussing. Instructions for getting the code will be given during the session.

Day 1

  1. What is it?
  2. Installation/Setup
  3. Creating a Project
  4. Creating an Application
  5. Configure a Database
  6. Basic View
  7. Custom URL

Day 2

  1. Models
  2. Meta fields
  3. Field types
  4. Foreign Key/M2M Fields
  5. Inheritance
  6. Django Admin
  7. String Representation

Day 3

  1. Forms
  2. Model Forms
  3. Custom Validation
    1. Single Field
    2. Multiple Fields

Day 4

  1. Template
  2. Built in Tags
  3. Built in Filters
  4. Custom Filters

Project

https://launchpad.net/classroom-scheduler

Class

  • teacher
  • title
  • start time
  • end time
  • wiki link
  • course

Course

  • title
  • start date
  • end date

Comments

  • name
  • email
  • timestamp
  • class
  • comment

Channel

  • name
  • is logged
  • is moderated
  • ops

mhall119/classes/LearningDjango (last edited 2010-02-26 19:03:46 by 206)