However it led to another problem. Which means that in. On top of that, inside the program itself, it now can't find any of the relative paths either. How can I get it to run from the folder, as it does when I do it manually in commandprompt? Sign up or log in Sign up using Google.
Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Linked Read more about runserver here. Note: don't use this server in anything resembling a production environment. To achieve it, we are going to create the app using the following command inside the previously created project :.
In this case, our app will be demo which namespace will be demo. The view will return Hello world as response thanks to the HttpResponse object. Finally, start the server again using python manage. You can read more about django views in the official documentation of the project. Interested in programming since he was 14 years old, Carlos is a self-taught programmer and founder and author of most of the articles at Our Code World.
Light Dark. Carlos Delgado August 27, Note: we are working with django 1. Share this article. Carlos Delgado Author. Add Your Comment. Become a more social person. Related Articles. How to install python on Windows and set up a basic hello world June 13, I tried of creating project in Windows.
When I type django-admin. Everything is installed and previous project also running fine. In windows, open folder where you want to create the project, point to empty space and press Shift and then right mouse click. Choose the option Open Command Window Here. Then in command window, just enter above command. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow.
Learn more. How to create Django project in Windows? Ask Question. Asked 4 years ago.
0コメント