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
- What is it?
- Installation/Setup
- Creating a Project
- Creating an Application
- Configure a Database
- Basic View
- Custom URL
Day 2
- Models
- Meta fields
- Field types
- Foreign Key/M2M Fields
- Inheritance
- Django Admin
- String Representation
Day 3
NOTE: The code starting at tag:day3.1 requires database updates. You will need to delete your classroom_scheduler.db file and run "python manage.py syncdb", then re-create test Sessions and Courses from the Admin screens.
Or, you can download an updated database with sample data here: classroom_scheduler.db (username:root/passwd:password)
- Templates
- Built in Tags
- Built in Filters
- Custom Filters
- Forms
- Model Forms
- Forms in Views
- Custom Validation
- Single Field
- Multiple Fields
- Extra Listings
- Deleting records
Project
https://launchpad.net/classroom-scheduler
Class
- teacher
- title
- start time
- end time
- wiki link
- course
Course
- title
- start date
- end date