0
我:Django的filebrowser '錯誤發現上傳,文件夾'
- 的Django 1.8.2
- Django的格拉佩利2.7.3
- Django的filebrowser 3.6.4
- Django的TinyMCE的2.4.0
在INSTALLED_APPS
:
INSTALLED_APPS = (
'grappelli',
'filebrowser',
'django.contrib.admin',
在urlpatterns
:
from filebrowser.sites import site
urlpatterns = patterns[
url(r'^admin/filebrowser/', include(site.urls)),
url(r'^grappelli/', include('grappelli.urls')),
url(r'^tinymce/', include('tinymce.urls')),
url(r'^admin/', include(admin.site.urls)),
]
這似乎正常工作。
我的MEDIA_ROOT
設置爲'D:\\sites\\my_site\\public_html\\media\\'
。
我FILEBROWSER_DIRECTORY = 'D:\\sites\\my_site\\public_html\\media\\'
組也在我的設置,但在瀏覽http://localhost:8000/admin/filebrowser/browse/
仍然得到一個錯誤:
ImproperlyConfigured at /admin/filebrowser/browse/
Error finding Upload-Folder (site.storage.location + site.directory). Maybe it does not exist?