Wednesday¶
Objectives¶
- Investigate Django’s Class-Based Views (CBV) and how they work
- Begin implementing your own forms into your Django Imager app
- Be comfortable working with Django forms and form handling
- Learn about what a Hash Table is and how it can be implemented.
Readings¶
Hashing¶
- Read all about various hashing functions and how they work.
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
- Screencasts about Django Class-Based Views: Part 1, Part 2, and Part 3
Review¶
- Self-balancing BST
Concepts¶
- Hash Table Basics