我的静态文件设置是
STATIC_URL = 'static/'
STATIC_ROOT = os.path.join(PROJECT_PATH, 'static')
我在我的项目和 urls.py 中安装了 ckeditor:
url(r'static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_ROOT,}),
(r'^ckeditor/', include('ckeditor.urls')),
当我从 ckeditor.js 获取时http://127.0.0.1:8000/admin/chicinfo/article/add/static/static/ckeditor/ckeditor/ckeditor.js
,我无法获取此文件。下图显示了我的问题:
我怎么了?