I'm using fckeditor to edit some fields of my model. Once in admin.py I added
class Media: js = ('fckeditor/fckeditor.js', 'fckeditor/custom/impresa_legacoop_fc_it.js') and in the second I replace the textarea "descrizione" with an fckeditor one. Now the javascript loads also for the object list in admin, which has no "descrizione" and generates a warning popup. is it possible to load a js only on object modification form? Thanks in advance. -- Alessandro Ronchi Skype: aronchi http://www.alessandroronchi.net SOASI Soc.Coop. - www.soasi.com Sviluppo Software e Sistemi Open Source Sede: Via Poggiali 2/bis, 47100 Forlì (FC) Tel.: +39 0543 798985 - Fax: +39 0543 579928 Rispetta l'ambiente: se non ti è necessario, non stampare questa mail --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---