First, pycharm creates a new apps pythonpackage directory
Second, drag the app into the apps directory
Do not check the search index button
3. Enter the following code in the project setting
# 将apps 做为根目录
sys.path.insert(0,os.path.join(BASE_DIR,"apps"))
Fourth, start django to verify whether it is successful