Django项目版本错误运行报错no python application found, check your startup logs for errors
no python application found, check your startup logs for errors
一般是多版本兼容的问题,或者uwsgi和python环境不符合,注意pip的时候需不需要pip3
Django错误unsupported operand type(s) for +: ‘PosixPath‘ and ‘str‘
将settings中的'DIRS': [BASE_DIR+'templates',],改为:
'DIRS': [BASE_DIR,'templates',],