常用方式:在项目的根目录下创建templates目录,settings.py中设置DIRS值
DIRS=[os.path.join(BASE_DIR,"templates")]
记得把创建的app01也写进去