Getting started Django

Install Ensure that python is already installed. install virtual environment pip install virtualenvwrapper-win Create virtual environment mkvirtualenv djangoprj Install Django ensure that you are inside the virtual environment pip install django Run below command to check django is installed django-admin --version Create project django-admin startproject djsample Run project cd djsample py manage.py runserver Do not close the above window. open http://localhost:8000 in browser. stop the running server and move to next step....

April 10, 2021 · 2 min · 229 words · M.Kumaran