📌  相关文章
📜  'package' 参数是执行相对导入所必需的 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:35.850000             🧑  作者: Mango

代码示例1
The leading dot in include('.upload.urls') is causing the problem.

Assuming that upload is in your project directory (the one that contains manage.py), changing it to upload.urls should work.