增加包的搜索路径的代码

root
abc abc
  • 15 Jul

import sys, os.path
sys.path.insert(0, os.path.join(BASE_DIR, 'apps'))