1. 程式人生 > >Django 學習日誌

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