Try to prepend a slash to your src attribute: <script type="text/javascript" src="/media/js/tiny_mce/tiny_mce.js"></ script>
Should be /media/js/tiny_mce/tiny_mce.js not media/js/tiny_mce/tiny_mce.js hope that helps pe On 10 Okt., 13:50, AniNair <[EMAIL PROTECTED]> wrote: > Hi, > I am trying to add tinymce to flatpages in admin using > change_from.html in admin/flatpages/flatpage. > this is change_form.html > {% extends "admin_copies/change_form.html" %} > {% block extrahead %}{{ block.super }} > <script type="text/javascript" src="media/js/tiny_mce/tiny_mce.js"></ > script> > <script type="text/javascript" src="media/js/tiny_mce/textareas.js"></ > script> > {% endblock %} > > Django is returning error that > [10/Oct/2007 17:09:40] "GET /admin/flatpages/flatpage/1/media/js/ > tiny_mce/tiny_m > ce.js HTTP/1.1" 404 3644 > [10/Oct/2007 17:09:40] "GET /admin/flatpages/flatpage/1/media/js/ > tiny_mce/textar > eas.js HTTP/1.1" 404 3647 > The file tiny_mce.js and textareas.js are in location > media.js.tiny_mce . Can anyone tell me why is django returning 404 > error? Please help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---