1)增加应用 python3 manage.py startapp app-name 2. settings.py中,“INSTALLED_APPS”添加应用名称. 3. 在templates中新增网页index.html 4. view中, def index(request): return render(request, 'index.html') 5. urls.py中, from ganji.views import index url(r'^index/', index), 6. h