First configure a virtual environment, in flask the first article has written, here to skip the
For example, my Django directory is: C:\Workspaces\DjangoDemo, has installed the name of the venv virtual directory, then install the Django Framework, in the virtual environment state input:pip install Django can
Next, create the underlying framework for a Django project
Virtual Environment CD to C:\Workspaces\DjangoDemo, then enter:venv\scripts\django-admin.py startproject demo1
Demo1 for the project name, random, enter after the C:\Workspaces\DjangoDemo directory will be added to a demo1 directory, this is Django for us to build the project base template
The above is my own combination before the flask elusive, the tutorial is a Linux manual installation of compressed package file method, I feel a bit of trouble, not as virtual environment +PIP
Python Django Development 1