From the command line, cd into a directory where you’d like to store your code, for example, "Desktop"
cd desktop
Then run the following command to create a project named "PollProject":
django-admin startproject PollProject
Change directory to created project:
cd PollProject
To verify your Django project works, we run the following commands:
py manage.py runserver
Then, visit "http://127.0.0.1:8000/" with your web browser.
If it work well, you’ll see a “Congratulations!” page:
Top comments (0)