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 


猜你喜欢

转载自blog.csdn.net/weixin_41502742/article/details/80708537