Note that there are some explanatory texts on larger screens.

plurals
  1. PODjango-tinymce and django-filebrowser, image upload Error finding Upload-Folder (MEDIA_ROOT + DIRECTORY)
    primarykey
    data
    text
    <p>So I'm trying to get filebrowser working with tinymce in django. Evrything goes fine with tinymce, nice fancy text editor. When I try to open the file browser i get ImproperlyConfigured at /admin/filebrowser/browse/ Error finding Upload-Folder (MEDIA_ROOT + DIRECTORY). Maybe it does not exist?I don't get any errors in the console from that and so far as i can tell it should be looking for /media/filebrowser/ which definitely exist </p> <pre><code>python manage.py test filebrowser give me this: FAIL: test_directory (filebrowser.tests.settings.SettingsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/nada/costumeshoppe/filebrowser/tests/settings.py", line 29, in test_directory self.assertEqual(os.path.exists(os.path.join(MEDIA_ROOT,DIRECTORY)), 1) </code></pre> <p>AssertionError: False != 1</p> <p>my settings:</p> <pre><code>STATIC_ROOT = ROOT_PATH +'/public/static/' STATIC_URL = '/static/' MEDIA_ROOT = ROOT_PATH + '/public/media/' MEDIA_URL = '/media/' TINYMCE_JS_ROOT = '/static/tiny_mce/' TINYMCE_JS_URL = os.path.join(STATIC_URL, "tiny_mce/tiny_mce_src.js") TINYMCE_DEFAULT_CONFIG = { 'plugins': "table,spellchecker,paste,searchreplace,styles", 'theme': "advanced", } </code></pre> <p>my urls:</p> <pre><code>if settings.DEBUG: urlpatterns += patterns('', url(r'^media/(?P&lt;path&gt;.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT,}) ) urlpatterns += staticfiles_urlpatterns() </code></pre> <p>I'm running in debug mode, don't know if that's the problem, do have a weird issue where i can use the static url to load static files but they have to be in the media directory, though the filebrowser static files are in my static file location which fixed some installation problems, but putting those files in media location as well didn't change anything. Any ideas what is needed to do to get this to work?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload