On 3/7/07, Mary <[EMAIL PROTECTED]> wrote: > > I have really tried with dojo and i worked with this steops exactly > http://code.djangoproject.com/wiki/AddDojoEditor > and i didn't see anything in my text Area field > > I have django 0.95.1 i have installed dojo 0.4 > > Can anyone help please as i spent a lot of time to know what is the > problem with nothing > also i tried to added AddRichTextEditing.js' in django/contrib/admin/ > jss/admin > also nothing changes
Did you add it to django/contrib/admin/js/admin, or django/contrib/admin/media/js/admin? (note the *media* directory) > > > > On Mar 7, 3:06 pm, "Nathan R. Yergler" <[EMAIL PROTECTED]> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---