- 目录结构
2. 具体实现步骤
1. chat项目下创建indexapp 2. 配置路由
from django.contrib import admin from django.urls import path from django.views.generic import TemplateView from index.views import IndexView

2. 具体实现步骤
1. chat项目下创建indexapp 2. 配置路由
from django.contrib import admin from django.urls import path from django.views.generic import TemplateView from index.views import IndexView