I am trying to integrate django-tinymce with django-filebrowser for my django admin site. Everything (almost) works fine.
manage.py test filebrowser
, works okhttp://localhost:8000/admin/filebrowser/browse/
works, too
however when I press the browse
button on the windows popup of
insert/edit image
of tinymce button panel nothing happens.
in my firefox debug window I get an error like this (when pressing browse
):
f is undefined
code: http://localhost:8000/static/js/tiny_mce/tiny_mce_src.js
line: 11981
and on my dev-server output window I get a 500 error like this:
GET /tinymce/filebrowser/ HTTP/1.1" 500
when admin page tries to load the tinymce_models.HTMLField()
text area.
Any ideas what am I doing wrong?
PS: I also use grappelli and this is my settings.py part that loads the apps:
INSTALLED_APPS = (
#... usual django standard apps.. #
'django.contrib.staticfiles',
'grappelli',
'filebrowser',
'tinymce',
'django.contrib.admin',
'expedeat.dbadmin',
)