動態載入javascript問題

使用require.js或者els.js加載module的時候在django項目上前端報:500 Dude, this is whack! django前端

後臺報:ImproperlyConfigured: The storage backend of the staticfiles finder <class 'django.contrib.staticfiles.finders.DefaultStorageFinder'> doesn't have a valid location.django


只需去setting.py中從STATICFILES_FINDERS刪除DefaultStorageFinderui

相關文章
相關標籤/搜索