Hi All,
I'm on Django 1.10.5 using django-tinymce 2.6.0.
Before upgrading to Django 1.10.5 I did not have any problems, but now I get an error:
In a model the HTMLField is used like:
In the urls.py the urls of tinymce is included:
and in the settings.py the configuration is like:
and of course it is added to the installed apps.
Do you have a hint?
Thanks
schaf
-- I'm on Django 1.10.5 using django-tinymce 2.6.0.
Before upgrading to Django 1.10.5 I did not have any problems, but now I get an error:
NoReverseMatch at /registry/preview/4
Reverse for 'tinymce.views.spell_check' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []
htmlpage = HTMLField(blank=True, null=True)In the urls.py the urls of tinymce is included:
url(r'^tinymce/', include(tinymce.urls)),
and in the settings.py the configuration is like:
TINYMCE_DEFAULT_CONFIG = {
'theme': 'advanced',
'theme_advanced_buttons1': 'bold, italic, underline, bullist, numlist, forecolor, spellcheck',
'theme_advanced_path': False,
'relative_urls': False,
'width': '100%',
'height': "960px",
'content_css': 'static/css/mail_custom.css',
'browser_spellcheck': True,
}
TINYMCE_SPELLCHECKER = Trueand of course it is added to the installed apps.
Do you have a hint?
Thanks
schaf
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/cdcfe535-da63-48e2-b4b7-1719c923564e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment