Hello,
I am not able to use the tinymce editor in my flat pages.C:\Users\Kakar\Downloads\Compressed\tinymce\js\tinymce\tinymce.min.js
<script type="text/javascript" src="{% url 'admin:jsi18n' %}"></script>
<script type="text/javascript" src="/tinymce.min.js"></script>
<script type="text/javascript">
tinyMCE.init({
mode: "textareas",
theme: "simple"
});
</script>
(r'^tiny_mce/(?P<path>.*)$', 'django.views.static.serve', {'document_root':'C:/Users/Kakar/Downloads/Compressed/tinymce/js/tinymce'}),
Please, point me out, where am doing wrong. I am learning from a book 'Practical Django Projects'.
Thank you.
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 http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment