I have installed tinymce, django-filebrowser and grappelli.
我安装了tinymce,django-filebrowser和grappelli。
Everything works nice except that I can't upload files to my local dev server. When I click on Insert/Edit image icon in Tinymce editor and then on Browse button I get the page where I can see a list of my already uploaded images through django's image upload method in media/images/ folder.
一切都很好,除了我无法将文件上传到我的本地开发服务器。当我点击Tinymce编辑器中的插入/编辑图像图标然后点击浏览按钮时,我会通过django的图像上传方法在media / images /文件夹中看到我已经上传的图像列表。
However when I click the Upload button a get the Upload page but no possibilities for selecting and uploading images/files.
但是,当我单击“上传”按钮时,将获取“上载”页面,但无法选择和上载图像/文件。
Here is the screenshot of that window.
这是该窗口的屏幕截图。
https://gyazo.com/175028ba6630d94f1ddd7148697775ab
When I inspect the window there is an error message in the console:
当我检查窗口时,控制台中有一条错误消息:
Uncaught SyntaxError: Unexpected token & 127.0.0.1/:97
1 个解决方案
#1
0
It is not working with Django 1.9 yet.
它还没有使用Django 1.9。
#1
0
It is not working with Django 1.9 yet.
它还没有使用Django 1.9。