LearningDjango

Differences between revisions 7 and 12 (spanning 5 versions)
Revision 7 as of 2010-02-23 17:16:55
Size: 864
Editor: 206
Comment:
Revision 12 as of 2010-02-26 16:02:54
Size: 1198
Editor: 206
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

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 18: Line 20:
 1. Translations  1. Django Admin
 1. String Representation
Line 21: Line 24:
 1. Templates
 1. Built in Tags
 1. Built in Filters
 1. Custom Filters
Line 23: Line 30:
 1. Forms in Views
Line 26: Line 34:

=== Day 4 ===
 1. Template
 1. Built in Tags
 1. Built in Filters
 1. Custom Filters
 1. Extra Listings
 1. Deleting records

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. Templates
  2. Built in Tags
  3. Built in Filters
  4. Custom Filters
  5. Forms
  6. Model Forms
  7. Forms in Views
  8. Custom Validation
    1. Single Field
    2. Multiple Fields
  9. Extra Listings
  10. Deleting records

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)