1
00:00:05,420 --> 00:00:09,320
Welcome everyone to this section of the course focusing on jingo and templates.

2
00:00:10,520 --> 00:00:15,350
So in this section, we're going to begin to explore how to connect our jingo views code to template

3
00:00:15,350 --> 00:00:16,730
files like HTML.

4
00:00:17,180 --> 00:00:22,250
This is going to allow us to take advantage of everything that each HTML, CSS and even JavaScript have

5
00:00:22,250 --> 00:00:25,520
to offer, along with any backend Python logic.

6
00:00:25,910 --> 00:00:31,730
At the very end of the previous section, we showed an example of how to connect HTML to a view, but

7
00:00:31,730 --> 00:00:33,890
now we're going to dive into it in a much more formal way.

8
00:00:35,040 --> 00:00:39,990
So we're first going to discuss template directories, actually where you store your template files

9
00:00:39,990 --> 00:00:44,850
is kind of a big deal and an important step inside of Django to make sure everything works correctly

10
00:00:44,850 --> 00:00:45,840
and is scalable.

11
00:00:46,260 --> 00:00:50,640
Then we'll talk about template rendering, and then that will lead into a discussion on the general

12
00:00:50,640 --> 00:00:53,490
Django template language, which is similar to ginger.

13
00:00:53,820 --> 00:00:59,070
And that's going to allow us to talk about context insertion that is grabbing a Python object and sending

14
00:00:59,070 --> 00:01:00,060
it to the HTML.

15
00:01:00,420 --> 00:01:05,519
Then we'll discuss filters and tags, URL names within templates and then template inheritance.

16
00:01:06,990 --> 00:01:11,850
Then we'll talk about a few specifics regarding templates, such as static files, where should your

17
00:01:11,850 --> 00:01:14,580
hosts things like images or CIUSSS files?

18
00:01:14,820 --> 00:01:17,520
And then how to create your own custom four or four templates.

19
00:01:17,520 --> 00:01:19,770
And at the end, we'll finish this all off with an exercise.

20
00:01:20,430 --> 00:01:20,790
All right.

21
00:01:20,880 --> 00:01:21,570
Let's get started.

22
00:01:21,720 --> 00:01:22,710
I'll see you at the next lecture.

