Customizing Django Templates

Treehouse
Course Summary
In Django Basics, you learned how to set up the skeleton of a video tutorial library. But for a real-world application, you’d probably want more flexibility and functionality in your websites. Django offers lots of built-in options for using templates to make your site dynamic and flexible, and makes it easy for you to build the extra things you need. In this course, learn about more complex template inheritance, how to make use of the vast array of built-in tags and filters Django has, and how to grow your own tags and filters for the functionality that Django doesn’t provide. By the time you finish this course, you will have a deeper understanding of how you can make Django’s templates work for your project, as well as a fully fleshed out video tutorial site!
-
+
Course Description
About this Course In Django Basics, you learned how to set up the skeleton of a video tutorial library. But for a real-world application, you’d probably want more flexibility and functionality in your websites. Django offers lots of built-in options for using templates to make your site dynamic and flexible, and makes it easy for you to build the extra things you need. In this course, learn about more complex template inheritance, how to make use of the vast array of built-in tags and filters Django has, and how to grow your own tags and filters for the functionality that Django doesn’t provide. By the time you finish this course, you will have a deeper understanding of how you can make Django’s templates work for your project, as well as a fully fleshed out video tutorial site! What you'll learn
- Template Inheritance
- Built-in Tags and Filters
- Building Your Own Tags and Filters
About the Teacher
Lacey is a software developer for the University of Texas at Austin. She also organizes Django Girls workshops and serves on the technical board of Project Callisto.
-
+
Course Syllabus
- Template Inheritance 4:53
- Blocks and Inheritance 3 objectives
- CSS in Django 5:12
- Template Tags Review 5 questions
- Handy Dandy Filters 5:07
- Using Template Libraries 4:22
- Lengths and Counts 3 objectives
Building Custom Filters
Learn to write your own custom filters, chain filters together, and write one last custom tag. At the end of this course, you should have a thorough start to making templates in your own projects more dynamic and extensible. 8 steps