> Hello, I need to hack a little bit the admin app, I'd like to use a > custom widget (Rich text editor) in some places. I think I'll have to > modify the admin code, is it right?
Most browser based WYSIWYG editors I've ever tried allow you to implement them with only a little bit of javascript so you shouldn't need any customization outside of adding the proper proper javascript URLs to your model definitions. I just added TinyMCE to a page in the admin section for content editing, and after just a very little bit of fiddling it works nicely. See here for an example: http://code.djangoproject.com/wiki/AddWYSIWYGEditor > After this, I'll probably need to make some changes in the admin zone, > s I have to rewrite some code. I think there is two possible ways of > doing it. Copy the admin folder to my site directory, or modifying the > admin app inside the django source. > Both of them have any inconvenience, for example, in the first one, I > won't be able to update the admin zone easily when I update django, > and in the second one, when I update django I'll loose all the changes > I made. > What do you recommend me? Is there any other way? I don't know what the experts recommend, but from my own experience I've found that maintaining your own set of changes to a framework or application that you use is always a joy-sapping headache. What do you need to do that Django doesn't already provide for? -- -Ben --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

