 Hello sir. Yes. Yes. Sir it is showing an attribute error that library manager dot view. There's no attribute books. Views in views you are getting error. Yes. I am also facing the similar problem but the error is a bit different. Python was not found. A pipe. Okay. In views can you check whether there is no typo somewhere? This is the line. In views file. Yeah. In views first. Render HTTP import HTTP response. Create your views here. Define books request. Return HTTP response books one map to Python. It is correct sir at my end. Okay. All right. Okay. I think there are two different problems here. I think the doctor has a problem with Python. So for Python if you remember like we did yesterday you have to open Anaconda with a run as administrator then go to the environment tab then click on the arrow, click on open terminal and in that terminal you have to run the Python manage dot py command. Yeah yesterday I had the same problem. Yeah. After going to the correct folder which is Django project on your desktop. So you'll have to first do those steps, open your terminal, go to the correct folder then go to the folder containing manage dot py and then run the Python manage dot py command. The command will not run in any terminal by default. Please follow the steps like we followed yesterday. Open Anaconda with a run as administrator option, go to environment tab, go to the base root, you'll see an arrow, click on the arrow, click on open terminal in open terminal. After you have opened the terminal, use your cd command. Please find the path of the folder where manage dot py is located which is somewhere on your desktop in a Django project folder. Once that is done, go to that particular folder using the cd command in your terminal. Once you are there only then this command will work. Hello, sir. Yeah. Sir, I did the exact same thing, but it is still showing the same error that it has no attribute books. Correct. Then you have not done the exact same thing because it could have worked otherwise. Can you please share your screen or paste the code. It will show you the file name also so you can you can just find that piece of code in that proper file and paste it here. Sir, will you please open the link where our server is running like in localhost port 8000. Okay, possible that you are also getting the same. Open it. No, but that error would have shown up while running the server. I have not found this. You do books now. Is this same error is showing. Yeah, we have not reached that point. This is the attribute error. No, somebody got an attribute error. Yes, sir. Let me show share my screen. You'll have to stop sharing. Sir, I have a different problem. I executed that command in the terminal. It went to the performing system checks. Now it has no issue, but one thing it has suggested you are waiting on applied migrations. Yes, you can ignore that. Hello, sir. Yeah, so the server is started. The module library manager. The news has no attribute books. Can you open the books when you want to find books? Yes, sir. This is the view dot P by five. And index you have written. In your views you have written index. The views you've taken half of the information from the GitHub repository and half from Prathamesh. Prathamesh has defined the function in the view dot P by as books. So you will have to define also as books. Or you can change it to index this one thing has to change either the function name or the reference in the you are in dot P by anyone will have to change. So for now just put it as book that is what. Thank you, sir. Anyone else having similar issues or some error while running the server? If the server ran, then please wait. There could be something that shows up that is fine. Yeah, so what does it say? Can you open your URL in your spider editor or whichever editor? Can you remove the slash at the end? So you added one slash but you're not adding the slash in your URL in your browser? No, the first one, the first one. Slash books, the leading one. At the start. Because already added by previous view. You are. Yeah. Okay, when I am facing a problem, yeah, can you share the screen quickly? Yeah, yeah. Manager M small. Okay. See, yeah, okay, that is one thing. Which is you are when I'm using I'm getting an error here that books views dot books. Is there some problem like actually I got disconnected for a few minutes in between. Can you? You need to import the views because this file should know which views you're talking about. So you need to import. Yeah, from your app, you need to import the views. So maybe I'll show you my URLs. Yeah, I do save settings. Okay, in settings that you are to make any changes. Yeah, made one night. Yeah, only decided that I decided I will manager. Yeah, okay. Yeah, we know. Yes, sir. Okay. Yeah, we have to come to that point. Yeah, you have to give slash books because now you have created a new URL. So it says there is no match. So slash books. If you give it will it will run slash books in in the you are. Yeah, in the address it. No, not there in the browser. So in the browser. Yeah, I'll show this I'll show this. I'll be coming here. Yeah, I think everyone rich this point where the server is running. Once the server is running, you have to go to your web browser where you will be requesting for the resources. So, okay, once you go there, type this local host. Yeah, it's a colon 8000 slash books. So, yeah. After I opened administrative what are the comments that we have to do. Yesterday I have completed that I got the I opened I copy and paste in the web browser it was congratulations. But again I want to know. Yeah, yeah. So now you have followed you have created the views you are is everything. Yes, sir completed. Yeah, yeah, now you local host colon 8000 slides books. Okay, now basically we are overriding the books that yesterday what you saw. Okay, so you will have to give local host colon 8000 slash books. Okay, sir, okay. You can get that okay URL back that does not that is the root URL that is fine but for now understanding purpose we are creating a new one we are overriding it. So if you put local host colon 8000 slash books books is the URL that we have mentioned, it will automatically call the view that we have created facing some problem when I put it in the browser. I'm not getting this, I'm getting the page not found. Yeah, yeah, the URL is the address is local host colon 8000 slash books. Yeah. Okay, still, yeah, can you share your screen. Yeah, I'm sharing. Yeah, I think in URLs you have not added it shows that there is no conflict for books. Yeah, you need to I need to add the URL. Yeah, otherwise it will not recognize in view file name URLs. Okay, in URL, I'm sorry. Yeah, which URL I need to add some books. Okay, so yeah, it's showing. Yeah, yeah, do not write that request client FB because it may ruin an error because this file will execute. And first line is okay, sir, the URL patterns or shall I remove it? Remove it, yeah, you can put it in comment actually but fine, you can remove it. Yeah, but I think you have created this URL somewhere else, I guess. No, this is the URL file. Okay, yeah, can you close it? Yeah. No, sir. Sir, there is a semicolon is there in URL, the path is defined is their book after that they are mentioned in a semicolon. Just a minute, I'm opening it. Yeah, yeah, I'll check it. So this is, yeah, you should have that line. You are in a different, like that URL is somewhere different and or it got created or something and this is different. If you have spider ID, it will be easier to track the file so that you don't edit something in a different place. No, no, I have saved it somewhere else, I think. Correct, which is why the spider ID is better because you just edit it there, save it there. Yeah, this file I have, this file I have. Which I need to, this one or the previous one which is there? The previous one is the correct one. You created this on your own and it got saved here at manage.py level, which is the wrong place for this file. Yeah, yeah. So delete this file from here and go back to that other file, add the views, the code line that you need to add. Here, no? Yeah. This one I need to change. Now is it okay? No, no, no, you have to import views. You have to also import. It is imported now. Your books, books view is in library manager. So from library manager, import views. Okay, one more command is required. Yes. Okay, from. Library manager, your app name. Library manager, import. Views. Okay. Yeah, so now this views refers to your created view in your application and from that we'll call the books. Now that URL will work. Yeah, it should work. No, still it is not working. Can you show the server where the server is? Yeah, I'm showing. This is the server status. Yeah, go down at the bottom. You have to add library manager to your settings. It will then recognize. Have you added settings in settings.py? Just a minute. I think I have not added. I need to check this one. Where it is to be added. Install apps. Oh. Install apps. Yeah, last one. Yeah. What I need to add here. The app name. So the project will recognize it. Yeah. Library underscore manager. Library underscore manager. Manager here. Yeah. And yeah. This is done. Now check the server. Yeah, import error. Get out of this like pressing some control C or something. We'll restart the server and check once. I'm in the server window. Yeah, control C. Can you press control C? Control C. Yeah, now again press up arrow. Yeah, enter. We are rerunning the server. Okay. Can you show your views? Where is the views? Yeah. Library manager. Hmm. It's here. Okay. It's in proper place. I think so. He doesn't have the underscore underscore in it. One second. Let me check the structure at my place. Yes. Yes. Correct. So you seem to have done something with the files in that folder. So can you please fix that? Which one? And the one I pasted in chat. Yeah, just a minute. Hold on. Yeah. Yeah. So you need all those files. Yeah. Because you don't have those files. It is not able to recognize the folder correctly. So I think your dunder in it, dunder py file is missing. Can you just create a new app? I think so it will be faster, right? If you create a new app. In... This is a URL. Unanswered? Yes. So you need all the files? Yeah. Just create a double underscore and type out the name. Double underscore i and it double underscore py file in this folder. In library manager folder. And it will work. In library manager folder. Correct. Just a minute. You already have it open behind you. You can see the views file. You have to create one more with the specific name that I have sent you. Which is underscore underscore i and it underscore underscore py. Just a minute sir. Yeah. In it py, no? Yeah. underscore underscore in it. Double underscore, right? Yeah. In the end dot py save it and run your server again. It is a blank file, no? It is blank file. It is blank file, nothing inside. Okay. I will go for the server like in control C. Sir double underscore. Double underscore, okay. No sir, still the problem is there. Alright, okay. Can you, okay. Just do one thing. Open your window explorer which is at the back. Yeah. Right. Go to library management. Not that one. The bottom one. Just rename the library manager to something else. Just call it 123. Just add 123 at the end. Library manager folder, just rename it. Okay, just a minute. Go to library management the top level folder and then right click there. Okay. Just call it 123 some random number. Correct. Nothing is open. Please close all your work of notepad. Yeah, I have closed. I have closed, yeah. Now rename this. Enter. You have another window, explorer window open. Can you close that? Yeah. Yeah, close all of those except for the one that you are using. Thank you. Now go back to, now rename this. What is left now? Only single is left. We need, all those files are closed. Sorry, it is spider id. But spider id is not part of it. Just close this also then. Now it is done. Okay. Now go to your command line. Close the server. Control C for the server. So that the server is closed. Right. Python manage, no close the server. Don't want the server. Close it. Control C is enough. Right. Wait, wait, wait. Okay. Now up arrow. Remove the run server and say start app library underscore manager. No, no. Only remove the run server world and add start app space library underscore manager. Can this now? Yes. Okay. Go in your settings.py file. Open it in your windows folder. Yeah. Go to the library management folder. Go to settings. Just add, go down to install apps option. Yeah. Just add a hash key in front of the library manager line. Hash key. Okay. Yeah. Now save this. Space is required. Just save. Just hit save. That's it. Nothing else to change. Just save as is. Correct. Now go back to your server. Run the command again. Anun command. Yeah, you should add start app then library underscore manager. So same command. Python manager.py start app space library start app. Yes. Start app. Press enter. Right. Now, if you go back to your folder, you can open spider or whatever you want. Go back to your folder. In settings remove the hash key that we added. Yeah. Why it was required. I'll tell you why it was required. Basically what has happened is your library manager folder did not have the relevant files. So your app was not being recognized. So what we did was we created the new app with the same name. You can delete that library manager folder if you want to but you'll have to copy paste all those things. I will keep it. You are just correct. Make sure that your views.py is correctly edited. Yes. And that's it. And you should not be touching the other part. Yes. And should work. So can Srinidhi or someone else please share this screen right now. Shall I stop my screen sir? Yes, you can it should be stopped right now. It's okay sir. I got mine sorted out. Cool. Abhijeet has a problem with page not on 404. So probably he is not adding books at the end or something of that sort. Yes. Correct. Abhijeet can you share your screen please. No, show me your server. You're not running your terminal. You're not running the server only. So how will you see anything in your browser? Your run server should always be running. If you want to see anything in the browser, your run server command should be active and running. So press up arrow, press enter. It will start running again and then you should be able to see something in your browser. That should solve the problem. Refresh your browser. Okay. So you have your URL started with the capital B. We specifically told you to please follow the instructions. Ditto. Any changes means that you will sort of encounter something like this. So you can add a capital B in your browser only and you will see the same thing that everyone else is seeing. Now for now, you don't need to change anything. If you want to change, you can change it later in the URL.py file. Okay. Sir, in my case, if I try to run, this site can't be appearing. Are you running the server properly? Yeah. The server is okay now. I need to run the server. Yeah. Yes. No. Cool. So you can say your screen for now and we will try to see what is happening. Sir, I am facing the same problem now. Which problem? Sir, that URL is one. So what you can do is on your server, there should be something that shows up as an error on the bottom. Just the last few lines of your server output and you please copy paste it in the chat. Mr. Kulkarni, can you say your screen and we can try to figure out what is going wrong? So what is the error? Can you scroll down to what your server is showing at the very end? Not use Django Contrib has no attribute URL. That is admin.urls I think is wrongly written. Yes sir. Yeah. So it should be open the URL file. Okay, I am opening it. Yeah. Sir, here the admin. That is the full stop is there. You have to enter the comma. Here numbers. Here comma is required. Yes sir. I think you have to save it sir. You have to save that file. Yeah, most probably it was not saved last time. Yeah. You have to refresh that page sir. I think this will be over. That should be admin.side.urls. It will still throw an error. Admin go to urls.py Yeah. Yeah. Admin.site Admin. Admin.urls You changed it. It is written already. No, no. Site. Not urls. Before urls. Before urls. Okay. Okay. Save it. Now something else has no attribute. Books. Have you written books in your views? I think. Yeah, I have written. I remember. No, no, in library manager. No, there are no views. In this. In this. Library manager too. No. You are supposed to use the original library manager, right? So this file should be there only. This file should be there only. Okay. This is now junk. This is not required actually. You can delete this folder if you want to. Like I said last time, you need to copy what was in this view. Add it to that view. Just a minute. Just a minute. Hold on. Where I need to create new file now? You don't need to create a new file. There is a library manager also now, right? You have a library manager app. Go there. Go to the view. Open the views file. Yeah. And paste everything here. Yeah. And save it. That has to be deleted. You can delete that. If you don't delete it right now also it is fine. I will delete it again. It will create the confusion. Yeah. It is deleted. Now it is showing a different thing. Cannot import. The spelling is wrong. Just a minute. Yes. Yeah. Now the server is working. Thank you. Yeah. Right. Correct. So what did we say was the last instruction was type in books and you will magically find everything working fine. Type in books in your browser. No. Run your server. Your server should be running. That is the correct command. That is fine. Keep that running. You type in slash books and everything runs fine. Yeah. It is working at my end sir. Thank you. Thank you. Thank you. I have a problem. Oh. Yes sir. Can you please quickly share your screen and we will try to sort it out for you. So it should be managed.py not manager. Correct. Who answered that question? Sassan. Yeah. 5.5 sassan. So what is the problem? There is no manager.py. There is something called manage.py in this current folder. And there is not even managed.py. You have to first go into library management. Then you will find manage.py file. Then you can run a command called python manage.py run server. And not manager.py run server. I think we have already run this command for what 4, 5 times now. So this is something that is useful to remember that it is manage.py not manager.py. No capital letters allowed. No spelling mistakes allowed because it doesn't understand and check it for you. Right. Here grammar doesn't work. Sorry. Go inside library management folder cd space cd space library management and then run python manage.py run server. I will stop your sharing for now because I don't think I need to specifically instruct and wait for you to solve. But you can just go inside that folder and then run python manage.py run server and it should run properly. There could be other issues and you can point it out in the chat and we will try to solve it parallelly. But I guess Prathamesh can go ahead with his screen share. Okay. Alright. Thank you Ankit. So, yeah. So I think almost all got the output necessary.