How to run a Django project?

We can run a Django project by using 'python manage.py runserver'. Port part is optional if we need to run our Django project on a specific port then we can specify a specify port number after runserver word. And if dont specify port then by default it runs on 8000 port. Examples of runserver command are mentioned below: Command


python manage.py runserver
After running above command we can open Django project in browser with URL http://127.0.0.1:8000/

Command for running Django project with specific port


python manage.py runserver 7077
After running above command we can open Django project in browser with URL http://127.0.0.1:7077/