view on github page here
Before install django make sure you have installed latest version of python, you can download from here.
- Installing django on Virtual Environment
C:\WINDOWS\system32>pip install virtualenvwrapper-win
C:\Users\subham\projects>mkvirtualenv py1
Here, virtual environment named as py1 you can give any name as you want.
(py1)C:\Users\subham\projects>pip install django
C:\Users\subham\projects>django-admin startproject projectname
Here, you can give any name instead of 'projectname'
C:\Users\subham\projects\projectname>workon py1
(py1)C:\Users\subham\projects\projectname>
(py1)C:\Users\subham\projects\projectname>python manage.py runserver
- Go to localhost http://127.0.0.1:8000/admin
- Create admin login username and password
login from below ||
(py1)C:\Users\subham\projects\projectname>python manage.py createsuperuser