Django Views and Templates
We finally get to looking at the core of a Django application - the views and templates.
Slides
Videos
- URL Routing in Django (6:59)
- Django Views (6:19)
- Inside Django Views and HTML Escaping in Django (15:36)
- Using Templates in Django (10:05)
- Using the Django Template Language (DTL) (11:00)
- Django Template Inheritance (6:06)
- Reversing Django URLs (12:52)
References
- Writing your first Django app, part 3 (Tutorial)
- Fixing Django 5.2 Errors on PythonAnywhere (Handout)
- Fixing Django 5.2 Errors on PythonAnywhere (19:39)
- Django URL Routing
- Django Templates
- Django Template Tags and Filters
- Django HttpRequest Object
- Django HttpResponse Object
- Cross-Site Scripting (XSS)
- HTTP Status Codes
- Django URL Resolving
Discussions
- Django Views and Templates (Login Required)
Tools
- Quiz: Views and Templates (Login Required)
- Auto-grader: Django Tutorial part 3 (Login Required)
- Quiz: Django Tutorial 3 (Login Required)