0
ImportError: Could not import settings 'file-patn/settings' (Is it on sys.path?): Import by filename is not supported.
我的代碼有這個在Django設置中導入錯誤。如何刪除錯誤?
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
需要什麼樣的改變在代碼中做刪除錯誤?
修復壞進口。 –