1. Create a virtual environment
virtualenv test
2. to enter the virtual environment
source ./项目名/Scripts/activate
3. Create a project
django-admin startproject 项目名
4. Create a database
python manage.py migrate
5. Create Application
python manage.py startapp 应用名
6. View Item
python manage.py runserver
Browser enter: 127.0.0.1: 8000 to view
项目名
项目名
__init__.py
settings.py
urls.py
wsgi.py
manage.py
db.sqlite3
应用名
__init__.py
admin.py
apps.py
models.py
tests.py
views.py
migrations