Setting new project with Django from Windows cmd
Django is a high-level web framework for building web applications quickly and easily. It is written in Python and follows the model-view-controller (MVC) architectural pattern.
Django provides many built-in features and tools such as an ORM (Object-Relational Mapping) for database management, a URL routing system, a templating engine, an admin interface for managing website content, and a security framework to help prevent common web vulnerabilities.
Open CMD and type
pip install django
Create A Project
$ django-admin startproject first_site
Create Django Server
$ python manage.py runserver
Let's check the URL http://127.0.0.1:8000/ or http://localhost:8000/
Note: To change the port of the server just add port number at the end of the command.
$ python manage.py runserver 8111
Get the latest news and updates by signing up to our daily newsletter.We won't sell your email or spam you !