Django 学习日志

1. django-admin startproject web 

2. python mange.py startapp blog

3. According to your need to edit the file(setting.py urls.py)

4. Define index function in "blog/views.py"

5. Create a folder named template

6.  Create a template("blog/templates/index.html")

7. python manage.py runserver 


你可能感兴趣的:(Django 学习日志)