Hi all: I am using Django1.2.3 and python2.6.5. And I want to add the Tiny_mce for my admin in my project. But I followed the doc on django<http://docs.djangoproject.com>, it does not work. Here is my code:
The admin.py: class EntryAdmin(admin.ModelAdmin): class Media: js = ('static/js/jquery.js', 'static/js/tiny_mce/tiny_mce.js', 'static/js/textarea.js',) And I posted the js files in my project path. The other hand, i added the following code in my urls.py (r'^media/(?P<path>.*)$','django.views.static.serve',{'document_root':settings.MEDIA_ROOT}), But it did not work! Anyone can help me? Thanks! Cheers for any clues AmaoZhao -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.