django配置项目到apps下面

在项目settings.py里面添加

sys.path.insert(0, os.path.join(BASE_DIR, 'apps'))
posted @ 2020-05-06 16:33  程序员小艺  阅读(347)  评论(0编辑  收藏  举报