Wednesday¶
Readings¶
Django Testing¶
- Django Testing (familiarize yourself both with writing and running tests and with the tools Django provides for testing.
- Using Dynamic Test Fixtures with Factory Boy (in particular pay attention to using Factory Boy with Django)
- Django Migrations
Django Views¶
To support creating and editing objects in Django, you’ll need to learn about Django Forms. Here are some readings to keep in mind as you progress:
- Start by learning how to work with forms in general
- Follow that up with reading about ModelForms and what they provide
- Make sure you understand form and field validation so you can ensure proper data is submitted
- Particularly complex forms, or forms which require javascript or special css, will need to utilize form assets
- You’ll want to keep a reference open for the Forms API
- Keep in mind that the custom form field you imagine may already have been created and check the Forms category on http://www.djangopackages.com
- Read about using Django’s Authentication Systems
- Writing Views in Django
- (Read ONLY! Don’t do this yet) Deploying a Django App to Amazon AWS
- (Read ONLY! Do not do yet!) Creating a Database Server
- Be aware of the security controls for Amazon RDS
- In particular, learn about RDS Security Groups and controlling access between RDS and EC2
RESTful Web Services
Concepts¶
Django Forms and Form handling
Demo¶
- Radix Sort!!