Start New Django Project

Windows, Python 3.x, Django 3.0, in virtual environment.
Summarized section in the end of article.

Step 1: Preparation:
a. Install python, python official download here.
b. Install python virtualenv using pip.

...> pip install virtualenv

c. Create virtualenv

...> virtualenv venv

d. Start virtualenv

...> venv\Scripts\activate

e. Install django

(venv)...> pip install django==3.0

Step 2: Create Django Project
a. Create django project

(venv)...> django-admin startproject myproject

b. Go to myproject folder

(venv)...> cd myproject

c. Run django

(venv).../myproject> python runserver

site url:

d. To stop server, use CRTL+C key

Step 3: Initial Migration
a. Migrate

(venv).../myproject> python migrate

Step 4: Create superuser
a. create superuser

(venv).../myproject> python createsuperuser

then type username, email, password and password confirmation.

admin site:

Summarized Section:

Step 1. Preparation
install virtualenv: pip install virtualenv
create virtualenv: virtualenv venv
start virtualenv: venv/Scripts/activate
install Django in virtualenv: pip install django

Step 2. Create Django Project
Create Django: django-admin startproject myproject
Go to myproject folder: cd myproject
Run Django: python runserver

Step 3. Initial Migration
Migrate: python migrate

Step 4. Superuser
Create superuser: python createsuperuser
Admin access:

Software Engineer