首页 > 编程语言 > 详细

动态载入javascript问题

时间:2014-10-13 00:27:10      阅读:368      评论:0      收藏:0      [点我收藏+]

使用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.


只需去setting.py中从STATICFILES_FINDERS删除DefaultStorageFinder


动态载入javascript问题

原文:http://my.oschina.net/crazyharry/blog/327340

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!