Ok, I read the doc...But not sure if I done everything correctly, as the tinyMCE is still not in my admin....
So what I've done: beryl:TECHNOBUD oleg$ cp /Users/oleg/src/django1.0/django/contrib/admin/templates/admin/change_form.html ./TEMPLATES/admin/ Then I edited copied file and added: <script type="text/javascript" src="/tiny_mce/tiny_mce.js"></script> <script type="text/javascript"> tinyMCE.init({ mode: "textareas", theme:"simple" }); </script> after the line: <script type="text/javascript" src="../../../jsi18n/"></script> (I read this solution in practical-django-projects book) That's all what I've done so far. But the editor still didn't appear Thanks, Oleg On Wed, Jan 14, 2009 at 12:18 AM, Brian Neal <bgn...@gmail.com> wrote: > > On Jan 13, 3:43 pm, "Oleg Oltar" <oltarase...@gmail.com> wrote: > > Hi! > > > > I want to add tinyMCE to my project's admin site. > > You didn't list any admin.py code. Check out the docs on the admin > interface: > > > http://docs.djangoproject.com/en/dev/ref/contrib/admin/#module-django.contrib.admin > > After you read through that, pay attention to the ModelAdmin media > definitions: > > > http://docs.djangoproject.com/en/dev/ref/contrib/admin/#modeladmin-media-definitions > > It is there you specify the tinymce javascript files. When the admin > displays the form for your models it will generate the appropriate > script tags to the javascript files. > > Good luck! > BN > > > --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---