Your message is quite confusing and difficult to understand, I have to say. What are you asking for? To show tinymce within your change_form or within the admin app? What do you mean by "flat pages"? Which error are you getting?
On 07/28/2013 08:35 AM, Karl Arunachal wrote: > Hello, > I am trying to use tinymce in the flat pages. But i just can't show it > up in my admin. Please help me out where am going wrong. > > The javascript file is in: > > C:\Users\Kakar\web\cms\static\js\tinymce\tinymce.min.js > > urls.py: > > |(r'^tiny_mce/(?P<path>.*)$','django.views.static.serve',{'document_root':'C:/Users/Kakar/web/cms/static/js/tinymce'}), > > |In my templates dir i have another admin folder, which have the > change_form.html, and right after {{ media }}: > > | <script type="text/javascript" src="/tinymce.min.js"></script> > <script type="text/javascript"> > tinyMCE.init({ > mode: "textareas", > theme: "simple" > }); > </script>| > Please help me out. 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+unsubscr...@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. > > -- Roberto López López System Developer Parallab, Uni Computing +47 55584091 -- 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+unsubscr...@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.