1
00:00:00,360 --> 00:00:01,920
Hello, friend, welcome back.

2
00:00:02,220 --> 00:00:06,860
In a previous video, I have discussed some of the attributes, that is the initial attribute.

3
00:00:06,870 --> 00:00:13,400
OK, so now in this video on the discourse about the unattractively also that is that we get attributes.

4
00:00:13,530 --> 00:00:19,530
How can working with this we get so this is also one of the attributes like here, if you want to compare

5
00:00:19,530 --> 00:00:23,970
it with some of these Jemal code, see today e-mail, we have defined some of the placeholder.

6
00:00:23,970 --> 00:00:24,320
Right.

7
00:00:24,720 --> 00:00:30,590
Like I just simply finding it's a place holder seemed a placeholder.

8
00:00:30,600 --> 00:00:36,050
We define some of the things that enter your name or something.

9
00:00:36,540 --> 00:00:40,110
So there is actually one of the e-mail code as a placeholder.

10
00:00:40,110 --> 00:00:45,870
So if you want to use this as a placeholder, in particular, these Shango form, how you can do this

11
00:00:45,870 --> 00:00:51,890
work for doing this, we have to do we have to use that our d we get this, we get attribute.

12
00:00:52,170 --> 00:00:56,910
So if you want to working with these, first of all, you have to define this attribute like I show

13
00:00:56,910 --> 00:00:59,910
you here in particular, that area I want to do.

14
00:00:59,910 --> 00:01:05,730
And we find out that we get OK so that we get a first of all, you have to do we have to define your

15
00:01:06,030 --> 00:01:06,810
our form.

16
00:01:06,820 --> 00:01:12,140
So here I just simply define our D input forms that in the general form we have to import.

17
00:01:12,420 --> 00:01:18,060
So I just simply defined as a form, OK, with these forms I want to define our type.

18
00:01:18,070 --> 00:01:20,460
That means that our field type will be other text.

19
00:01:20,650 --> 00:01:22,560
So I just simply defined the text input

20
00:01:25,260 --> 00:01:29,160
and into this text input area you have to define your dis attribute.

21
00:01:29,180 --> 00:01:30,300
So I just simply define it.

22
00:01:30,300 --> 00:01:34,080
Attributes able to address and include this attribute area.

23
00:01:34,080 --> 00:01:37,170
You have to define, first of all, these attributes.

24
00:01:37,180 --> 00:01:39,560
So that is our attribute name as a placeholder.

25
00:01:39,570 --> 00:01:39,810
Right.

26
00:01:39,840 --> 00:01:45,780
So now first of all, you have to define that your attribute name, and after that you have to define

27
00:01:45,780 --> 00:01:46,640
your value.

28
00:01:46,650 --> 00:01:48,010
That is the attribute value.

29
00:01:48,300 --> 00:01:54,070
So I just simply define our text input field and I just simply define the attributes into these attributes

30
00:01:54,090 --> 00:01:54,530
area.

31
00:01:54,540 --> 00:01:57,750
I want to do first of all, I define another attribute.

32
00:01:58,110 --> 00:02:01,140
So here I define another attribute like as a placeholder.

33
00:02:03,780 --> 00:02:08,350
So just name it as a placeholder and then you have to define your this attribute value.

34
00:02:08,670 --> 00:02:13,650
So I just simply define that value as enter your full name.

35
00:02:15,000 --> 00:02:20,230
OK, so this type of one of the attribute value I have defined in particular that area.

36
00:02:20,460 --> 00:02:22,840
OK, so I think you can all understand about it.

37
00:02:23,070 --> 00:02:27,000
So with this we get you can access the forms that we form.

38
00:02:27,000 --> 00:02:30,560
And then I have defined the text input type into these attributes.

39
00:02:30,570 --> 00:02:35,100
I just simply define our attribute as a placeholder attribute in the placeholder attribute.

40
00:02:35,100 --> 00:02:38,360
I have defined one of the value as they enter your file.

41
00:02:39,090 --> 00:02:42,030
So now let's check this out if you're not here to save all.

42
00:02:42,870 --> 00:02:45,190
So first of all, I want to check our server.

43
00:02:45,240 --> 00:02:46,400
Everything is OK.

44
00:02:46,500 --> 00:02:48,060
Now go our project.

45
00:02:48,930 --> 00:02:51,000
That means our can get the refresh.

46
00:02:51,510 --> 00:02:52,290
Yes.

47
00:02:52,350 --> 00:02:56,820
Now, because your friend now is actually showing us a full name and your full name.

48
00:02:57,000 --> 00:02:58,770
OK, so that is next with our placeholder.

49
00:02:59,070 --> 00:03:05,340
So now if you also want to check our source file again, I just simply opened the source file and the

50
00:03:05,340 --> 00:03:06,150
source file here.

51
00:03:06,150 --> 00:03:12,450
You can see it's now automatically defined our D placeholder attribute as our with this value as they

52
00:03:12,450 --> 00:03:18,550
enter your full name and also into the e-mail, we have some of the defined sound, is that right?

53
00:03:18,600 --> 00:03:23,090
We have some of the defined Saudi style as a style wide E-L high or something like that.

54
00:03:23,340 --> 00:03:27,400
So if you want to add that this style into this Shango form, how can do that work?

55
00:03:27,420 --> 00:03:28,350
It's pretty simple.

56
00:03:28,350 --> 00:03:29,740
Things better.

57
00:03:29,760 --> 00:03:35,490
I want to discuss, first of all, in that e-mail that we seen today, e-mail form types here.

58
00:03:35,490 --> 00:03:39,690
If you want to display a Saudi style, then what exactly you have to do?

59
00:03:39,990 --> 00:03:47,190
First of all, you have to define that as a style right into the style which is defined as a wide.

60
00:03:48,360 --> 00:03:53,690
We just simply define as wide as a 300 pixel or height as a 400 pixel.

61
00:03:53,700 --> 00:03:56,400
This step up one of the instead we have defined.

62
00:03:56,430 --> 00:04:02,520
So if you want to define this type of style into the Django form, then you have to do into this attribute.

63
00:04:02,820 --> 00:04:07,680
That means, you know, we get Syria into the games that our aptitudes I have already found of the one

64
00:04:07,690 --> 00:04:09,780
two attributes as a placeholder.

65
00:04:09,780 --> 00:04:10,880
And here I define that.

66
00:04:11,130 --> 00:04:11,430
Right.

67
00:04:11,700 --> 00:04:15,000
So now I have to do want to add another one, like after this.

68
00:04:15,290 --> 00:04:17,280
OK, I just simply defined the comma.

69
00:04:17,280 --> 00:04:24,390
And then first of all, we have to define our attribute, name or attribute name will be, as E-L say,

70
00:04:24,450 --> 00:04:27,670
the simply different style, and then we have to define that value.

71
00:04:28,020 --> 00:04:35,220
So I have defined that value as a wide I just simply defined as a wide and wide will be as a 300 pixel

72
00:04:35,910 --> 00:04:37,410
for a specific this field.

73
00:04:37,440 --> 00:04:40,290
OK, so I just simply defined as a 300 pixels.

74
00:04:40,330 --> 00:04:47,450
Now let's take this how difficult it is to save all and now go here to the refresh.

75
00:04:47,610 --> 00:04:53,670
Yeah, you can see this field is now becoming updated and now here I just bought some this time I just

76
00:04:53,670 --> 00:04:57,710
put that white as a 300 pixels and I now becoming 300 pixel.

77
00:04:57,990 --> 00:04:59,700
And also if you refresh our.

78
00:05:00,880 --> 00:05:05,130
That being said, our source space, you can see there have also another attribute is added, at least

79
00:05:05,130 --> 00:05:08,820
tied into this e-mail, have defined that value added to the picture.

80
00:05:08,950 --> 00:05:12,850
And also in today's Gmail, some of the time we have some of the dead from.

81
00:05:12,850 --> 00:05:13,150
Right.

82
00:05:13,180 --> 00:05:18,190
So if you also want to define the date form in Django Família, how can do that work?

83
00:05:18,650 --> 00:05:22,840
Uh, like here that is our other field.

84
00:05:22,840 --> 00:05:23,860
And after this.

85
00:05:23,860 --> 00:05:28,400
But after before this, I want to do and take another one.

86
00:05:29,320 --> 00:05:36,970
So here I want to pick another one and I just name it as one of the variables, as a user data, but

87
00:05:37,510 --> 00:05:38,820
they'll be OK.

88
00:05:39,100 --> 00:05:42,700
And then some things we have to define as the forms into the form.

89
00:05:42,700 --> 00:05:48,520
I have to define that our date sorry, our time will be as a date field.

90
00:05:49,300 --> 00:05:55,000
So that is kind of in the form that is in the Django form that also have the default one of the type.

91
00:05:55,030 --> 00:05:57,910
So here I defined the type as a date field.

92
00:05:58,160 --> 00:06:03,530
And here I also want to do and to define some of the attributes as a level attribute, say simply in

93
00:06:03,550 --> 00:06:09,540
front of the label, attribute into the attribute, I name it as a date of birth.

94
00:06:10,480 --> 00:06:12,430
So to simply name it as a date of birth.

95
00:06:12,700 --> 00:06:20,620
So now if you want to check it like I just clicked disable and now go here our the refresh.

96
00:06:23,070 --> 00:06:30,330
So maybe they have some of the or you can see that some of the other as a name form is not defined because

97
00:06:30,330 --> 00:06:38,310
of all, I can say, a spelling mistake, which will be as a form for our M.S. so as to save all.

98
00:06:41,410 --> 00:06:47,620
Yeah, now it's perfect because the refresh that was different here, I have defined find another form

99
00:06:47,620 --> 00:06:52,440
as a data, but that is a full name, date of birth and the email user email.

100
00:06:52,960 --> 00:06:54,930
So right now, we actually don't need this.

101
00:06:54,970 --> 00:06:56,560
OK, so here we don't need this.

102
00:06:56,570 --> 00:06:58,140
I want to do and remove our pieces.

103
00:06:58,190 --> 00:07:03,550
HTML Code seven to remove it, we have to go to our former CMO.

104
00:07:04,490 --> 00:07:10,040
So here we don't need this, Suheir, we don't need this, so that is the form, so our input will be

105
00:07:10,040 --> 00:07:10,760
needed better.

106
00:07:10,790 --> 00:07:17,060
I just simply copied and after this, OK, after this year, I just simply defined our input.

107
00:07:17,870 --> 00:07:19,700
Time will be at the submit name.

108
00:07:19,700 --> 00:07:21,480
I defined submit will submit.

109
00:07:21,480 --> 00:07:21,620
So.

110
00:07:21,620 --> 00:07:21,790
Right.

111
00:07:21,800 --> 00:07:23,680
No, that is so on.

112
00:07:23,690 --> 00:07:29,170
So I just simply removed this form from here like friend because I save all.

113
00:07:30,990 --> 00:07:32,570
Now let's check this out.

114
00:07:32,600 --> 00:07:34,070
Everything is looking great.

115
00:07:34,370 --> 00:07:35,330
Refresh it.

116
00:07:35,750 --> 00:07:36,800
Perfect is now gone.

117
00:07:36,800 --> 00:07:40,160
And also that's what the H Street tech that means here.

118
00:07:40,190 --> 00:07:45,050
I also want to it will be it because save all.

119
00:07:46,870 --> 00:07:53,710
Freesheet perfect, so don't reject our form as a full name of, but use an email and then our submit

120
00:07:53,710 --> 00:07:54,380
form, right.

121
00:07:54,730 --> 00:07:57,340
So here I have defined out this things.

122
00:07:57,340 --> 00:07:58,380
So do this text.

123
00:07:58,390 --> 00:08:04,750
I have already loaded all the toward Django form and then I have defined our subject from perfect and

124
00:08:04,750 --> 00:08:06,100
into this text familiar.

125
00:08:06,130 --> 00:08:08,500
You can see snow on the same line.

126
00:08:08,510 --> 00:08:13,990
So you here, if you want to break it, then you can also break it with using like into the text form

127
00:08:13,990 --> 00:08:14,800
area here.

128
00:08:14,830 --> 00:08:20,800
After that you have to do we have to define the as as if you want to display as you will, then you

129
00:08:20,800 --> 00:08:21,460
can use that.

130
00:08:21,460 --> 00:08:25,390
You will if you want to display as a paragraph then you have to define Aspey.

131
00:08:25,540 --> 00:08:26,680
OK, that means a paragraph.

132
00:08:27,100 --> 00:08:32,860
So now I want to make it clear to save all that I simply defend our form will be now loaded with this

133
00:08:32,860 --> 00:08:33,970
as paragraph.

134
00:08:34,900 --> 00:08:41,590
A freshet, you can see it's not perfectly showing as a paragraph field, but here one takes into the

135
00:08:41,590 --> 00:08:42,620
Daytop part.

136
00:08:42,640 --> 00:08:48,080
So when we using the e-mail code in the e-mail code, we define type as a date.

137
00:08:48,100 --> 00:08:53,770
So if you define the type as the input field, as the date automatically here that was on the calendar

138
00:08:53,770 --> 00:08:54,430
will be loaded.

139
00:08:54,450 --> 00:08:54,750
Right.

140
00:08:55,060 --> 00:08:56,700
But here you can see they have no calendar.

141
00:08:56,710 --> 00:08:58,700
So you have to add this calendar.

142
00:08:59,080 --> 00:09:02,710
So if you want to add this calendar, then you can do that work with this.

143
00:09:02,710 --> 00:09:05,660
We get like into the formula.

144
00:09:05,680 --> 00:09:07,840
So now I want to update our Dejiang of.

145
00:09:07,850 --> 00:09:08,420
All right.

146
00:09:08,620 --> 00:09:13,380
So in the e-mail, what exactly we define, I think you already know about it.

147
00:09:13,390 --> 00:09:17,370
In e-mail we define I just put it on the note for you.

148
00:09:17,530 --> 00:09:21,490
We define as an import field right into the input field.

149
00:09:21,490 --> 00:09:23,650
We define the type and type.

150
00:09:23,650 --> 00:09:30,220
If you define type will be as a date, then automatically it will be created one of the calendar, this

151
00:09:30,220 --> 00:09:31,170
input field area.

152
00:09:31,570 --> 00:09:35,040
So no one to do want to apply this in our triangle form area.

153
00:09:35,310 --> 00:09:39,810
So if you want to apply these in Django for media, then you have to do we have to define that things

154
00:09:39,820 --> 00:09:40,790
with this we get.

155
00:09:40,810 --> 00:09:46,750
OK, so here after that level, I want to define that we get OK.

156
00:09:46,940 --> 00:09:51,520
We just simply defined as we get and into the wiggers, we have to define that same format as a form.

157
00:09:52,390 --> 00:09:53,320
OK, forms.

158
00:09:53,320 --> 00:10:02,050
And then I define that the tax import text underscore import and in the text import here we have to

159
00:10:02,050 --> 00:10:04,930
define our attributes to just defined as attributes.

160
00:10:05,880 --> 00:10:09,370
OK, double ability are as an added attribute here.

161
00:10:09,370 --> 00:10:11,890
We have to define our two of the things.

162
00:10:11,890 --> 00:10:17,140
First of all, it will be for our attributes, our attribute name be as a type.

163
00:10:17,710 --> 00:10:19,390
So just simply defined as the type.

164
00:10:20,140 --> 00:10:22,600
And then also we have to define that value.

165
00:10:22,600 --> 00:10:24,340
Our value will be as a date.

166
00:10:24,790 --> 00:10:29,470
OK, so I just simply defined the date on here specifically, just like the same.

167
00:10:29,470 --> 00:10:31,330
We did that to work in particular that.

168
00:10:31,630 --> 00:10:33,040
I think you already know about it.

169
00:10:33,250 --> 00:10:37,720
First of all, you have to define your attribute name and then you have to define your values.

170
00:10:37,730 --> 00:10:39,610
Right now I to use our date.

171
00:10:39,620 --> 00:10:44,260
So for the reasons first of all, I define our attribute will be as a type and I just simply define

172
00:10:44,260 --> 00:10:46,110
our value will be as a date.

173
00:10:46,120 --> 00:10:52,840
And here you can see I just simply defined the test, put it will be actually as a text input, like

174
00:10:52,840 --> 00:10:55,300
a text input that things on here.

175
00:10:55,310 --> 00:10:56,600
So that is a spelling mistake.

176
00:10:56,860 --> 00:11:02,470
So now you have to define it with these farms, with this form, the raw text input and our attributes,

177
00:11:02,470 --> 00:11:11,020
attributes in the distributed assembly defining perfect note like is able to save all a freshet.

178
00:11:11,470 --> 00:11:15,690
Yeah, you can see perfectly is now updated our time as a date.

179
00:11:16,030 --> 00:11:19,750
So now you can see that the calendar is perfectly now loaded on here.

180
00:11:20,470 --> 00:11:23,100
OK friend I hope is very much clear to you.

181
00:11:23,410 --> 00:11:26,440
So they have a lot of the things you can actually do.

182
00:11:26,460 --> 00:11:28,410
I have a lot of that tubules.

183
00:11:28,420 --> 00:11:30,250
So there is that atomizers attribute.

184
00:11:30,430 --> 00:11:36,880
That is a validation, that is a disability, so that it has changes the billions, everything we will

185
00:11:36,880 --> 00:11:38,020
use in our project.

186
00:11:38,030 --> 00:11:40,420
So we think it's very much essential.

187
00:11:40,630 --> 00:11:42,230
OK, so Hastings's very much.

188
00:11:42,230 --> 00:11:44,050
You live with this Damul code.

189
00:11:44,050 --> 00:11:49,870
So all that attributes I want to share with you so I think is now should be very much clear to you.

190
00:11:50,090 --> 00:11:54,030
I'll give you the next video and discuss about that form submission.

191
00:11:54,040 --> 00:11:59,410
How can working with the form submission in our next video, I will show that things with the live example.

192
00:11:59,890 --> 00:12:03,130
So thanks for watching and I will see you in the next video.
