|
|
I'm requesting an URL which points to a model in the admin site.
The model imports models as tinymce_models, and has a field defined as
tinymce_models.HTMLField().
According to the doc. section about configuration one could override the
variable:
TINYMCE_JS_ROOT (default: settings.MEDIA_ROOT + 'js/tiny_mce')
PROBLEM:
It doesn't work, or is it just me?
When I override it and point the path into my project's media/js/tinyc_mce
directory or any other directory.
I get an error that the following pah doesn't exist:
/Library/Python/2.5/site-packages/django/contrib/admin/media/js/tiny_mce/tiny_mce.js
Making a symlink does solve this, for example:
from: .../<project-dir>/media/js/tiny_mce
to:
/Library/Python/2.5/site-packages/django/contrib/admin/media/js/tiny_mce/tiny_mce.js
What version of Django are you using? On what operating system?
=> 1.0.2 on OS X Leopard (10.5.x)
What version of django-tinymce are you using?
=> 1.5
|