如果发现from app01 import views标红,可以把创建的django目录标为源根。
如果发现index进不去,可以在def index()里加self-->def index(self)就没有问题了