Actually, it's not finding the file:
[07/Aug/2008 19:08:25] "GET /tiny_mce/tiny_mce.js HTTP/1.1" 404 1761
^^^
The 404 means the file wasn't found[1]. Try going to
http://localhost:8000/tiny_mce/tiny_mce.js (change the port if necessary).
Django will tell you the local path where it's looking for tiny_mce.js. Also,
you can turn on directory listings[2] if that's easier, and browse tiny_mce.
> <script type="text/javascript" src="/tiny_mce/tiny_mce.js"</script>
> <script type="text/javascript">
> tinyMCE.init({
> mode: "textareas",
> theme: "simple"
> });
> </script>
>
> This addition is in the template in the directory:
>
> admin/flatpages/flatpage/change_form.html
>
> Which seems like it is working because of the GET in the dev server
> output. I don't know what else to try. Does anyone know what is going
> on with this? Thanks in advance, sorry for the wordy question.
>
> I am running Ubuntu 8.04 btw, python 2.5, django-trunk
Cheers,
jeff
[1]: http://en.wikipedia.org/wiki/HTTP_404
[2]: http://www.djangoproject.com/documentation/static_files/#directory-listings
It says "GET /tiny_mce/tiny_mce.js HTTP/1.1" 404, thats means it cant find the file.
I would try typing that file in your vrowser directly and se if you can get to it, if not, it's a media path issue.
Joshua
http://code.djangoproject.com/wiki/AddWYSIWYGEditor
\d
Because URL patterns are processed top to bottom until one of the
patterns causes a match. The second pattern, above, will catch
everything, so anything else needs to come before it.
Regards,
Malcolm