So right here, in where we start, in my command prompt, I'm just going to opt out of this server that is already running. So that is duffel, dat, and we'll give it a comma. So Oh my God, why is that? So let's scroll down a new function sent requests. Now, let's go back to our page, London, we eat enter. So what this is just saying is that you can allow anybody to use this particular API. So now that this view as all this data, which to us are kind of inputted, or we just want to do is to store that data in this message database, we'll let that quickly load. So we are feature five, and we have just asked for, and then what we can say trustworthy, just like our service is a few with trust. Right here, I just have the plain Tex named our you're doing Let me explain the difference between static and dynamic and when something is studied, it means 88 is the same. And then was the ID buzz? So let's see, we'll come back into our VS code, we come into our serializer, we can see that the fields required a name, and age. So knowledge is our class meta, under specify, specify the model loaded with the student, and then the fields. And it says enter the word to replace so I want to replace this boy and enter the word to replace it with or to replace it with dude. See, if the feature does dad's name is equals to quick, then we can just say, can never be and say this fixture says sides is quick. So you know, when you first open your terminal or command line, the first thing you're gonna see is the directory where you are in a virtual environment, you will first see the name of the virtual environment in brackets, and then the directory that should show you that you are in Dev and driver match. Now there's something in Python called inputs. So now, in this scenario, we're going to get the value of Tom, if this is theme are going to get a team with this area we're going to get. Django is actually a web framework, which allows you to build websites using Python. And then if we press dir, we can see right here that there's money.py file, and we have this folder. So now that we know we have Python installed, let's just go ahead and install our code editor. And it said, so now, it doesn't tell us now again, that credentials, tightknit some authorization credentials. As you can see, all the blog posts is showing on the front page, which we don't want only ones like 10 words, or 20 words to show that a user should be able to click, and it will take them to another page to read the whole text. So to do lists also mean two dimensional list. Now we're just gonna search for your CDs get started. That's just where we import the serializers. So let me open a new tab and show you to get a smile you'll need to do is type download postman. Therefore, they ensure that the website or application works correctly. Now, once a cake if the the length of that sentence is less than 10. So now we know that the page isn't going to reload. So what is going to tell me is requirement already satisfied. And then in there also, I'm also going to create, I'm going to go in the CD blog, I'm going to say python manage.py. When we go further, you're going to see how we're gonna use authentication to allow each user to have their own data. In this tutorial, I'm going to be talking to you about the Python interpreter or the Python shell. Oh, no. That means if we want to get this value, we need to search for this key. So before I say make migrations, let me go into my code and input my password. So the reason why it's given us this era, as I explained earlier, is because why isn't a POST method, and then we didn't add the CSRF token. Now let's talk about serializing, the data that is going out, and I mean, the get method. Now, I hope you understand the concept of sending dynamic value is from your views to your template file in Django. So I also change is only like 10, you're gonna give me from zero to nine. But let's say we now try to change the value of two to something like 25. So for us to do these wants to do, we're going to say, try, like this, that oh, this is gonna be in try it after it, we're going to say, except, don't, we're just going to print value, not an integer. But what we want to do now, we created this database name feature. Because there's no more just only when y is less than c so so when is equals to C. So now it gives us an error, because when writing equals two in Python, it has to be double. But now let's say that we have these values. So in this site to add in is obviously going to be the title of the post, like how to deploy a Django project. So we can just say posts should be equals to boasts objects dot all and then we can just pass it right here on sipos. So let me just quickly explain this practically. So now that we can read this file, what we just want to do is to bring something like we can see curl file dot read line. I put this in why loop conditions is not similar to if statement, you know, when you state where we can do Eva is less than six and is this, then you should do a certain thing. Hey, what's up, guys, welcome to this video. So now that I know I have the rest framework installed, I can use the library in other module in our project. Now you see that it loads all the messages of this room? Then when you go to facebook.com, slash notifications, there's another URL, go to facebook.com, slash messages, there's another URL. So once a user sign up automatically, just gonna add right here or something like that. So if someone is in another part of the world, it's gonna work. A backend developer is responsible for the development of server-side components of a web application i.e. So now let's go back in year, and then, to make the latest post be on top are gonna say for post in posts, reverse. I'm also going to explain that later in this course. So that's basically how to use the break in for loop. So from serializers, which is DS, please make sure we have that. And what we want to do is I want to use a CLI. Now CSRF stands for cross site request forgery. And then there's another one just for the password and then input type, password and then Give it a name of password. And then later, we're also going to remove these. So we're gonna do something similar in the st. So we're just going to save and then if I come here So it says local variable city referred before assignment. Now want to check even this exists, then let's do something. And now, that's just for rendering a Normal template for, but I want to use the API view from the rest framework. There's an h3 saying the message under less than the full loop. And then this, this view is inheriting from the API view, which is right here. Let's give it like that. So what I want to do now is basically just st this detail, this input right here is this input, which we see input type text name, city. So normally, if one was in a post, like, if you don't want to submit a form, you can just remove this as a serialized because students realize what I said, because once you submit something like a form who has to say data equals to request or data it needs to get the data which is being posted into this particular API view. So you can just pick one and go with that. So let's say Pip, install Django rest framework. It gives me a bowl, which means Boolean, so does how to basically get the type of a string. Django provides a default CSRF token which allow us to prevent that attack. Now, obviously, when we print, this should give us minus five, as you can see down here, and just closes up. That's why we have something we call model view template. So three messages for this particular room, a developer, I was a pastor. So now you see that it's Prince five, that's because we have five words here. What if I wanted to print only five regardless of the sign, if it's positive or negative, I'm going to add a b s. Now this is a function is a number function, as I explained earlier, function is just a block of a block of code, which does a particular task. And they just add Python to Python just tick everything. And what we just want to do is to check if the user name also exists, because it is almost non existent the email and the user name, we might look at, we cannot have one account with two emails or one account when to use our names. So what we're doing now is that we're saying Ajax, and then we're saying the type is posts normally weren't using Ajax, we know, well, we're gonna use something like method. So I'm very sure the reason is because there was a syntax error right here. And then we're returning a response of this particular data. So instead of just printing 78, we can print 78 plus 22. Now, for example, let's say someone, another developer tries to access our API, once it sends a request to our API, we'll want to give the developer a response want to give him some sort of results. from rest framework dot response, you just want to import response. So if the length of the sentence is less than 10, they will say value is less than 10. And then we're passing this to counter dot html. lets you just take your request for no less return render request, register dot html. So said, Jeff gets, and then roughly says, self request. This course presents an overview of a variety of Web backend topics: handling user input, producing templated output, storing information in databases and data stores, and building systems with secure user accounts. Now when I run it, and I say 6020, and I want to divide, you see, gives me the division is 3.0. So of course I'm sure it's because there is an error. But let's want to be specific, we won't want to delete, you remember that we can those remove a value by saying these two dots, remove an avocado specify tlsa banana. So this simple trigger this demo feature I taught you, it can be used also when you are getting some values from the database. So this room is gonna create a new room, whenever a user wants to create a new room, and then this message is gonna store the messages. So now I can just simply print golf file. Again, no, no, no, this should be easier. Now, we can also, instead of having the break here, I can do something like this. Now very sure that if I want to import this, I'm just gonna look for our say we got imported. But in my experience there are two types of companies that hire developers. So modules are Swick also called m packages. It inherits every single thing which we have in this class. So that means this is girl is just the same thing as everything we have in this function. So we're gonna create a new file and name it urls.pi. Unable to receive, so we are having some errors. are also done on the backend. So you don't need to understand what I'm saying for now about Django. So he says Your name is john, and you are 105 years old. This one I'm doing right here is just guessing if there is any error at all, but let's be specific. So that's what comment is for, mainly in Python comments is are mainly programming in general, is useful, explaining our code or is useful, taking down notes in our code very well, like making our code more readable.