Wednesday¶
Objectives¶
- Understand how relationships between data models are handled in Django
- Learn about how Django accesses files
- Learn how node deletion affects a Binary Search Tree
Readings¶
Django Views¶
For your tasks this week, you’ll need to create a number of views in Django. Please refer to the following readings for help in answering your quesitons:
- Writing Views in Django
- An overview of Django’s Class-Based Views
- Full API Documentation for Class-Based Views
You may also wish to refer to the following materials for help in writing templates in Django:
- An overview of the Django Template Language
- Django Templates Configuration (including configuration of template lookup and engine selection)
- The built-in template tags and filters in Django
- Creating your own custom template tags and filters
Review¶
- Traversing the Binary Search Tree
- Testing in Django
Concepts¶
Demo¶
Managing relationships in the Django ORM