1
00:00:00,210 --> 00:00:01,800
Hello, friend, welcome back.

2
00:00:02,310 --> 00:00:09,060
In a previous video, we successfully migrate our database table, so now we can actually insert some

3
00:00:09,060 --> 00:00:13,280
of the data in Django that is one of the most interactive on the part.

4
00:00:13,290 --> 00:00:17,060
So here you don't need to create any good application by default.

5
00:00:17,100 --> 00:00:24,570
All that court application is clearly like if you click the add new, that means that about so here

6
00:00:24,570 --> 00:00:25,560
there is a clear title.

7
00:00:25,590 --> 00:00:29,790
So now I just simply copied the title title with the same.

8
00:00:29,790 --> 00:00:31,520
That will be our description.

9
00:00:32,130 --> 00:00:35,520
So I just simply copied and here I just simply posted.

10
00:00:36,330 --> 00:00:38,120
So that will be our description.

11
00:00:38,160 --> 00:00:38,580
Right.

12
00:00:38,940 --> 00:00:41,940
Sorry, that will be our description.

13
00:00:42,480 --> 00:00:43,770
And here that is an image.

14
00:00:43,770 --> 00:00:45,720
Pushtuns I just saw some of the emails.

15
00:00:46,710 --> 00:00:51,600
So for now I want to do an addition to these emails and click as open.

16
00:00:52,230 --> 00:00:54,940
So that is our Django KOSDAQ being OK.

17
00:00:54,990 --> 00:00:56,520
So now if you click to save.

18
00:00:58,910 --> 00:01:02,180
Now, here you can see it's not showing us about object.

19
00:01:02,210 --> 00:01:04,630
That is one object is addressed successfully.

20
00:01:04,790 --> 00:01:05,180
Right.

21
00:01:05,480 --> 00:01:07,340
So that is actually about successfully.

22
00:01:07,370 --> 00:01:09,950
Now, if you go here and that is actually our current.

23
00:01:10,160 --> 00:01:16,270
Yeah, our image sequences automatically added as is about and our image.

24
00:01:16,280 --> 00:01:22,940
But here, if you open it, if you open it now, you can see snowshoeing as it discharges about does

25
00:01:22,940 --> 00:01:23,960
not exist.

26
00:01:23,990 --> 00:01:25,790
Perhaps it was deflected.

27
00:01:25,790 --> 00:01:27,900
OK, that means it's not actually visible.

28
00:01:28,220 --> 00:01:29,980
So here we have two also visible.

29
00:01:29,990 --> 00:01:31,530
If so little, I will show you.

30
00:01:31,940 --> 00:01:35,880
And also, it's not showing as is about and that is actual object.

31
00:01:35,910 --> 00:01:41,240
So here, if you want to change that name as it objects to your title, name, your description name,

32
00:01:41,490 --> 00:01:42,590
you can change it.

33
00:01:42,920 --> 00:01:47,410
So if you want to do that work, we have to do we have to work on a model that means here.

34
00:01:47,870 --> 00:01:52,940
So if you already know a little bit of python and the python, they have one of the key words as a self,

35
00:01:52,950 --> 00:01:54,300
you are to be the self cured.

36
00:01:54,330 --> 00:01:55,730
We can actually do that work.

37
00:01:55,760 --> 00:01:59,890
So first of all, here we have to do we have to create one of the magic method.

38
00:02:00,140 --> 00:02:04,020
So that is actually the one of the magic method, in particular that area.

39
00:02:04,040 --> 00:02:07,050
So here that means inside that our class.

40
00:02:07,080 --> 00:02:10,120
So here you have to do we have to create one of the class.

41
00:02:10,160 --> 00:02:15,140
So I just named that of the magic class or the constructor class, whatever the name you actually call,

42
00:02:15,140 --> 00:02:19,240
then it spells double on the line and they start OK.

43
00:02:19,400 --> 00:02:20,280
And then it's done.

44
00:02:20,300 --> 00:02:23,240
And here we have to do we have to pass out this key.

45
00:02:23,580 --> 00:02:24,800
That means the self gives.

46
00:02:24,800 --> 00:02:27,240
I just simply pass out this self.

47
00:02:27,830 --> 00:02:30,150
OK, so with the self here we can actually change it.

48
00:02:30,410 --> 00:02:32,740
So now I hope people will understand about it.

49
00:02:32,750 --> 00:02:33,960
So that is our key.

50
00:02:34,010 --> 00:02:38,930
And here I just added our the magic method as a dev and that is we start.

51
00:02:39,100 --> 00:02:44,930
OK, so now with this self we can actually pass our every field data.

52
00:02:44,960 --> 00:02:47,090
So here I want to do and to return.

53
00:02:47,990 --> 00:02:53,320
So return with this self, with this self I want to do and to pass out whatever he wants.

54
00:02:53,330 --> 00:02:55,920
If we pass that description, you can pass the title.

55
00:02:56,270 --> 00:02:58,250
So here I just simply pass the title.

56
00:02:58,790 --> 00:03:04,390
So now if you click on the Savol, so just symbolically to save all of us to fill out the check or sarva.

57
00:03:04,940 --> 00:03:05,090
Yeah.

58
00:03:05,240 --> 00:03:06,980
Or is perfectly running.

59
00:03:07,310 --> 00:03:09,620
And now if you refresh it.

60
00:03:10,430 --> 00:03:11,120
Yes.

61
00:03:11,120 --> 00:03:15,170
You can see and now it's become changed and now it's showing our title.

62
00:03:15,360 --> 00:03:19,680
That means here I have added one of the Boasso with this post title is visible.

63
00:03:19,710 --> 00:03:21,020
So if you add new one.

64
00:03:21,470 --> 00:03:22,800
So I just named me that.

65
00:03:22,860 --> 00:03:26,390
This is just for test.

66
00:03:26,980 --> 00:03:29,930
OK, and then here some of the description.

67
00:03:30,160 --> 00:03:33,260
I just copied the description I just saw the description.

68
00:03:33,260 --> 00:03:34,700
I bought some of the images.

69
00:03:35,180 --> 00:03:41,630
So now I just choose this one because I save now because Israel is not showing as that this is just

70
00:03:41,630 --> 00:03:42,190
for test.

71
00:03:42,200 --> 00:03:44,350
OK, so that means our title is visible.

72
00:03:44,720 --> 00:03:52,310
So here, if you want to change that as a description of the Savol and now if you refresh it.

73
00:03:54,060 --> 00:03:56,560
Now, see is not showing all that description.

74
00:03:56,850 --> 00:04:02,460
OK, so if you want to change it, you can change it from the disposition with our Ts self, OK, with

75
00:04:02,460 --> 00:04:04,540
the self and without this magic method.

76
00:04:04,980 --> 00:04:13,530
So better able to make as a title that will be better for me to save all your freshet.

77
00:04:13,830 --> 00:04:14,520
That is a title.

78
00:04:14,530 --> 00:04:21,390
So if you go here you can update it as a as I told you before, in Django way automatically by default,

79
00:04:21,630 --> 00:04:23,290
the code application is relevant.

80
00:04:23,310 --> 00:04:27,780
OK, so you can update the title, you can update that description.

81
00:04:28,090 --> 00:04:33,770
You can change that immediately after that if you can save it now consists of successfully updated and

82
00:04:33,770 --> 00:04:35,630
now consistent showing other successful.

83
00:04:36,270 --> 00:04:39,700
So that's how you can actually updated that everything.

84
00:04:39,720 --> 00:04:42,510
And also if elected, you can delete it from here.

85
00:04:42,670 --> 00:04:46,560
OK, that is the total code application is the limit in particular that area.

86
00:04:46,920 --> 00:04:48,600
So right now they have the two posts.

87
00:04:48,870 --> 00:04:55,040
So, you know, next video on the discuss about like here that is about DOT and then our Django course

88
00:04:55,140 --> 00:04:55,680
here.

89
00:04:55,920 --> 00:04:56,860
That is all about.

90
00:04:56,880 --> 00:05:00,600
So has I told you here I all about folder.

91
00:05:00,600 --> 00:05:03,050
It automatically will be created out of the folder area.

92
00:05:03,450 --> 00:05:04,920
So that is actually the folder.

93
00:05:04,920 --> 00:05:10,380
If you go to our portfolio here, you can see snow created on the folder and that is OK, but it's not

94
00:05:10,470 --> 00:05:12,080
actually getting appropriately.

95
00:05:12,330 --> 00:05:17,430
So here we have to update that work so we can update it in our next video.

96
00:05:17,430 --> 00:05:18,450
I will show you that thing.

97
00:05:18,460 --> 00:05:19,670
So the live example.

98
00:05:20,040 --> 00:05:23,340
So thanks for watching and I'll see you the next video.
