Hi all, I am trying to add django-tinymce-1.5 in my application. I downloaded tinymce_3_2_5 and installed it using sudo python setup.py install.
In my settings I have following: PROJECT_DIR = os.path.dirname(__file__) MEDIA_ROOT = os.path.join(PROJECT_DIR, 'static') MEDIA_URL = 'http://localhost:8000/static/' INSTALLED_APPS = ( ... 'tinymce', .. ) INYMCE_JS_URL = MEDIA_URL + 'js/tiny_mce/tiny_mce.js' TINYMCE_JS_ROOT = MEDIA_ROOT + 'js/tiny_mce' TINYMCE_DEFAULT_CONFIG = { 'plugins': "table,spellchecker,paste,searchreplace", 'theme': "advanced", 'cleanup_on_startup': True, 'custom_undo_redo_levels': 10, } TINYMCE_SPELLCHECKER = True TINYMCE_COMPRESSOR = True In urls.py (r'^tinymce/', include('tinymce.urls')), Model is class testTM(models.Model): user = models.ForeignKey(User, unique=True, editable=False, related_name='testTM') test = models.CharField(max_length=10, blank=False) and form is class testTMForm(forms.ModelForm):" test = forms.CharField(widget=TinyMCE(attrs={'cols': 10, 'rows': 5})) class Meta: model = testTM In template, {% extends "base.html" %} {% block meta %} {{ form.media }} {% endblock %} {% block content %} <form action="/test" method="post"> {{ form.as_p }} <input type="submit" value="Save" /> </form> {% endblock %} But i do not get the tinymce toolbar, in Firebug I get following tinymce is not defined at start : function() { var t = this, each = tinymce.each, s = t.settings, ln = s.languages.split(','); This is compressor, i believe. Can anybody tell me what is it that I am doing wrong or is there anything that I am missing. Thanks in advance, Sonal. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---