I am using Django 1.5.1, and as we know since Django 1.3 the world of Media and statis files have been separated for good reasons.
To my surprise django-tinymce's documentation is referring to how TINYMCE_JS_URL is pointing by default to the media url.
TINYMCE_JS_URL (default: settings.MEDIA_URL + 'js/tiny_mce/tiny_mce.js')
That doesn't make much sense. As in Django 1.3+ we have the static_url for self hosted js and css files. But trying to change that is confusing and doesn't work.
This is how I usually setup my static files settings:
STATIC_ROOT = '/home/kave/project-env/site/static/'
STATIC_URL = '/static/'
STATICFILES_DIRS = ('/home/kave/project-env/site/static_files/',)
In the static_files directory I have extracted the TINYMCE zipfile: e.g. the path is like this:
/home/kave/project-env/site/static_files/tinymce/js/tinymce/tinymce.min.js
Then I have set the settings like this:
TINYMCE_JS_URL = STATIC_URL + 'tinymce/js/tinymce/tinymce.min.js'
TINYMCE_JS_ROOT = STATIC_ROOT + 'tinymce/js/tinymce'
However when the app runs, I see a plain textfield instead of TINYMCE.
WHat could I have overlooked please?