Monday¶
Objectives¶
- Learn about how authentication and authorization work in a Django application
- Become comfortable working with Django forms and form handling
- Be able to understand how a basic sorting algorithm works and can be implemented
Readings¶
- Django Security
- Is Django’s Built-In Security Enough?
- Read about using Django’s Authentication Systems
Django Forms¶
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
Demo¶
Bubble sort!