LearningDjango
|
Size: 842
Comment:
|
← Revision 14 as of 2010-02-26 19:03:46 ⇥
Size: 1425
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: |
| 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 |
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 13: | Line 15: |
| 1 Models 1 Meta fields 1 Field types 1 Foreign Key/M2M Fields 1 Inheritance 1 Translations |
1. Models 1. Meta fields 1. Field types 1. Foreign Key/M2M Fields 1. Inheritance 1. Django Admin 1. String Representation |
| Line 21: | Line 24: |
| 1 Forms 1 Model Forms 1 Custom Validation 1 Single Field 1 Multiple Fields |
'''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. |
| Line 27: | Line 27: |
| === Day 4 === 1 Template 1 Built in Tags 1 Built in Filters 1 Custom Filters |
Or, you can download an updated database with sample data here: [[attachment:classroom_scheduler.db]] (username:root/passwd:password) 1. Templates 1. Built in Tags 1. Built in Filters 1. Custom Filters 1. Forms 1. Model Forms 1. Forms in Views 1. Custom Validation 1. Single Field 1. Multiple Fields 1. Extra Listings 1. Deleting records |
| Line 49: | Line 58: |
=== Comments === * name * 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
- 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
mhall119/classes/LearningDjango (last edited 2010-02-26 19:03:46 by 206)