 Yeah. All right. So now comes the time we'll be creating the super user. So now we'll run the command Python manage dot py create super user enter. Okay, now there won't be any error and it will say username. Okay, you can give anything I'll give will give it admin. So everyone will be on the same page. So admin email address you can skip for now or you can enter password you can give it won't display the password. Okay, because it's a password. So type it it will take it type it again. It won't display. Okay, and if it is not passing the validation of password, you can bypass it. Okay, by saying yes, why? Okay, if your password is not strong enough, it will give you a message bypass the validation and create so you should say yes, because we are testing. We don't want to get into the complex situation right now. So yes, and it will say super user created basically your admin level privileges user is created. Everyone reach this point, then we'll continue ahead. No, sir, in my case, it is still asking to migrate and not creating any user. Okay, okay, we'll just still asking you to migrate. Okay, we'll see that we'll see that. Okay, any other? No issue. So, okay, how could I break the server? Control C. It is not getting out. Then I can only try control that try control print break or control if there is no break button in your on your keyboard and try control shift B may also work. No, sir. Oh my God. Better close and open again. That is quite. Control shift C. Can you try control plus shift? Yeah, control sure. Okay, till then, okay, we'll see the issues in a while because I think we are in a good flow. Now I will come back to the ones who have got the error in a while. So now we have created a super user. Okay, now I can run the server. Okay, if I do this, it will it should work properly. And once I run the server, I go to the web browser. Okay, and now instead of books, what we'll do is we'll have admin. We'll be using admin app. spelling is wrong, not to worry. Okay. Yeah, so this is too much. So what you should put in your web browser is simply localhost slash admin admin is provided by Django, okay, itself, the web framework. We have not created this. It is Django's own thing. So quite helpful. Yeah, you can give the super user details that you have just now created. You can log in. And you can see nice, beautiful interface for administrator. You can actually do a lot of editing, delete, a lot of things you can add users you can do you don't need to now work on the, from the command prompt, you can create another user where you don't do that right now and just showing it you can later try it out because initialize this. Yeah, so everyone should reach this point those who have not reached will now take okay, understand what is the issue with it. Okay, who has any issue? Yes, I had. Yeah, yeah, yeah, you can and there should not be space space between create and super user. It's a one single comment. Okay, create super user is a single one. Single one. Yeah. Okay. Yeah, it's created. Yeah, okay, you can try. Okay, anyone else has any issue? And let us know what would be username admin right when you're going to the site browser? Yeah, the the one you have created on the command prompt admin only we have created. Yeah, then admin the same same username same password. Exactly. You will have to use the username and password that you typed in when putting in the command. If you follow along the user ID and password we need to enter. So you type in super user command, it asked you for a username then it asked you for a password then it asked you for more information, right? If you follow the same thing, ma'am, when you use the same thing, there could be people who have typed in different username. So just as a generic rule, you will have to use the same username and password that you typed in when creating the super user. It is good practice to make a note of the username and password in case in the rare case that you've forgotten which password you typed in, just run the same command again with a different username, like like a unique username. And this time make a note of it and then log in. So you can have multiple super user also, which is why you can run the command multiple times. It is fine. If you've forgotten your username or are constantly getting wrong password, wrong username kind of an error. Please just run it again, type in a thing type in a username and password that you can remember. And then try to log in to the web interface. Yeah, so someone has asked that we were told that we could bypass the password in the command line interface when running the command, but it will not allow me to log in without the password. Yes, so this is a common issue which is why giving the password is useful. Even though you are allowed to bypass, it is not recommended because the web interface does not, the web interface and the authentication system itself does need a password. So in such a case, again, you can just create another user this time. Make sure that you type in a proper username that you can remember and password that you can remember. Then go to the web interface and then type it in again. Then you should be able to log in. Yes, yes, and mega it's basically password by you are bypassing the validation, not the password. You have to enter the password. It's just a validation of whether your password is good enough strong enough and follows certain standard like it has some characters and all. So that you should bypass that is what is okay what we are doing not to completely bypass the password. Okay. Yeah, sir, what is the link of the web? It is 8000 slash admin. Instead of books, now you will be using the admin app. Okay. Yeah, can you please repeat after username? I think Shruti, you got it or any issues there? Yes, you can create more than one. Yes, you need the run server command running whenever you have to access anything in the browser, your run server command to be running, otherwise you will not be able to see anything in the browser. So after you have done everything, when you are trying to access something in the browser, first run the run server command, then go to the browser. Anyone has issue or have to go up like books. Admin, admin. Books is what we created. Now we are using the default app provided by Django. That is admin. So we'll use the URL, which is already present. Oh, Shruti Singh. Okay, I'll tell the others. I'll just quickly, in a minute, walk through it. I think you can see the screen. So nothing much. We are creating a super user. Okay. So in your library management, okay, this is a directory where your, okay, manage.py file is there. Okay, first thing you need to run is this command, Python, manage.py migrate. This will create the database, default databases that your default apps have. These are the apps which are already present. So run this commands one, once you're done with this, the second command, I'll tell you. Yeah, Shruti, done with this command? Yes, Shruti. Yeah, yeah. Now, I'm sorry. Okay, now next command you will run is create Python, manage.py, create super user. Okay, no spaces. Okay, simply means create super user, no spaces between create super and user. This is the command and create your admin user. Is it different one, second one, sir? No, no, no. No, I mean, our second one, sorry. Already we have created the super user. No, this is I'm repeating. You are repeating it for people who have not done it. Okay, okay, sorry, sir. Though you can create infinite super users with a different user name. So yeah, so once I put that a migrate command, after that they're showing operation to apply all migration. There is no like what you are mentioned like before you're showing that. Because your migrations were already done yesterday, which is why you didn't get that output. Pratham has not done his migration yesterday, so he did it today. You can just run create super user by default. So if I run migrate now, you get this error? Yes, this is message, not an error, sorry. Just like the same messages. Yeah, so because now we both have a migration, so yeah. Okay, yes, so Shruti got this? Yes, sir. Yeah, now you can run the server and you can check on admin page, localhost colon 8000 slash admin. You can log in and you can explore, yeah. Okay. I observed one thing. Once I run it, I need to log in and I logged in. When I close that window, it is not asking me again to log in. Yeah, yeah, because there is also one app over here, session. It maintains your session till the time your browser is on. Yeah. So it will maintain, preserve your session. There is some time, life time for that also, life cycle of session. So it will maintain it. Till the time you log out, it won't kill the session. Okay. Yeah. Sir. Opening localhost colon 8000 slash admin means it cannot be read. Okay. So I will copy paste in this chat. So this is how your URL looks exactly once. My super users can do many things. It can modify your content. Yeah. Sir, we can use any email address. Any? Yes. No, no, no, no. Any email address. So yeah. Email, you can put anything. You can skip email if you want. Email is not compulsory. Okay. So super user basically, yeah. You can do any operation on you have the permission to delete user. You have permission to delete book entry that is there. Okay. In the application, it has all the rights, all the privileges. That is why it is super user. Not simply about authentication or anything. It has all the rights. It can manipulate any object in your application. So yeah. Sir, once I put that create supervisor after that they are asking user name. I put it at me after that they are asking email address. I put it at email address after that they are asking password. Yeah. Once I put the end entering the password, it's not taking. No, it is taking. It won't show because it's a password. Because it is not supposed to show up. But the typing is being registered. You have to be careful when you type. So be sure of what you are typing and press enter. It will take it into consideration. Okay. So before I stop, a couple of things. So everyone kindly back to the screen. I'm sharing. So it is visible, right? For all. Yeah. So let us clean this. Yeah. Now there is always this. Okay. How to remember the command. Run server, create supervisor, migrate, make migration bot. So I would suggest this is how you can check what all commands are available for manage.py. You can simply do Python space, manage.py, enter. Okay. And if you do that, it will give you a list of all the commands available for different app. Okay. So run server is there. Okay. There are many. Okay. We definitely can't look at all. So, and they have their own purpose. We have migrate over here. Make migrations. And okay. These are Django things. Then in auth app, we have create super user. Okay. So this is the command that we use. Then it gives us list of available commands for your reference. So you don't have to, in case you ever have some, okay. Forget it. Or you don't remember one small space spelling something. You can always, okay, use this. Okay. Python space managed dot py and press enter. You get list of the available commands. Okay. This is just the start. There are so many commands and okay. You will be using it as per your requirement. It is not necessary to use everything just as per your requirement. Yeah. So this is one thing I wanted to share and okay. Last thing is right now. If you see your project directory, you see a file has been created automatically db dot sqlite three. Everyone has a file. I'm sure all will have that this file db dot sqlite three. Yeah. So from where does this file come? Okay. So what is happening? You go to settings. We don't have to go. I've already set things open. So if you see your settings or py and if you check the database config where it is. Yeah. Yeah. So here we have database. Okay. Information. So this is default default means we have not configured anything by default Django is done first. It is using sqlite three engine back and engine. Okay. So by default sqlite three will be used. You can use postgres. Okay. SQL you can use my SQL. Okay. So you're free to use different backend but again you need to know how to handle because if you use my SQL you will have to enter password authentication port number. Not basically. Okay. What do you say? Complete details but at least at what port your my SQL is running and all those things. Okay. So the simplest is sqlite three which is good for development purpose but when you definitely deploy your website you will definitely feel the need of my SQL. Okay. So yeah. Just an information. So the file sqlite. Okay. Obviously creates a file. All content is in this file. Sqlite three. So that medical file is been created because you have mentioned it because the Django has mentioned it in settings. If you change the name it will do not do it now. This is just for your understanding. Do not do anything now. Okay. Because still we have to continue with few things right now. So DB dot sqlite three will okay. It is the file that will be created in which all your DB information will be there. I'm going to say table and all. Okay. So don't do this. I'll only I'll do this for now because just to show you if you if I would take this file. Okay. What is inside it. So I've started my sqlite. Okay. And I'll do dot tables. It shows me the tables present or the user. See here. It is there. There are many other tables which Django needs to. So Django session is also there. That is why even if you close and you restart it is still it still preserves the session in the web browser. So many things are there. And if I do select star from our user. Okay. I can see. Okay. This is the password which is obviously hashed. So we can't understand it. But this is the name of my user admin. Okay. This is the date, time created and all the last login. All those details will be there. Fine. This is just an information to show you. Okay. That out. Okay. Things are happening behind the scene. Anything that I want to ask you. Sorry. I cannot read it. Site. One second. You win the you just do Python manage.py and press enter. Okay. And Python space manage.py will give you all the available commands. Django documentation is the best. I have always referred only one thing that is Django. I have not searched anything else. No other thing, no other resources were required for me personally. But then there are other books also. I think Ankit is very much aware about it. Different. Yeah. Maybe Ankit can tell you during his session. But I would say best is the Django documentation on the official website. It's very good. Another thing is covered in it using Jinja templates as well. How to use the templating language. Yeah. So page not found. Page not found. What is the page you're trying to access? You can try whether the server is running or not. Please check. And then okay. Site cannot be reached. Run server. Okay. But this I'll stop. Thank you.