On 3/6/07, Mary <[EMAIL PROTECTED]> wrote:
>
> here is my model :
>     text = models.TextField(help_text='Rich Text Editing.')
>     class Admin:
>         js = ['js/admin/AddRichTextEditing.js']
>
>         list_display = ('title','owner','time_created')
>
> i have added the dojo folder in my media folder and i have added
> AddRichTextEditing.js in js/admin/AddRichTextEditing.js'
>
> I have no idea why the test are doesn't appear with text editor
> I am using django 0.95.1 and when i click on my browser
> http//:mywebsite/media/js/admin/AddRichTextEditing.js
> i can see the script
> any ide why is this happening

In Django 0.95 (may also apply to HEAD, not certain), the URLs
provided in the js attribute are interpreted as relative to the admin
application's media folder.  So you'd want to put your
AddRichTextEditing.js file in django/contrib/admin/media/js/admin/ to
make your setting above work.


>
> Thank you ;
> Mary Adel
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to