Re: About using django-tinymce

2009-09-22 Thread Joost Cassee
On 22 sep, 08:17, taijirobot wrote: > well, guys, I've solved this problem, but in a bad way. > > Since I'm running the site locally with the default django server, the > MEDIA_URL became a confusing thing to me. Luckily I have an Apache > server running on my machine,

Re: About using django-tinymce

2009-09-22 Thread Daniel Roseman
On Sep 22, 7:17 am, taijirobot wrote: > well, guys, I've solved this problem, but in a bad way. > > Since I'm running the site locally with the default django server, the > MEDIA_URL became a confusing thing to me. Luckily I have an Apache > server running on my

Re: About using django-tinymce

2009-09-22 Thread Daniel Roseman
On 2009/9/22, taijirobot wrote: > Thank you very much. The problem was solved after I changed the > MEDIA_URL setting. > > But now I have a new question, it is about the display of the rich > text. > > I used code like this to display it: > > {{ post.title }} > {{

Re: About using django-tinymce

2009-09-22 Thread taijirobot
well, guys, I've solved this problem, but in a bad way. Since I'm running the site locally with the default django server, the MEDIA_URL became a confusing thing to me. Luckily I have an Apache server running on my machine, so I just set the MEDIA_URL to 'http:// localhost/media/' and copied the

Re: About using django-tinymce

2009-09-21 Thread Rama Vadakattu
[Off topic suggesting another rich text powerful editor] You can also try django CK editor 1) which is easy to user 2) which is powerful,fast and more robust than TInyMCE http://code.google.com/p/django-ck/ 3) with every ease you can also integrate directly. On Sep 22, 6:45 am, taijirobot

Re: About using django-tinymce

2009-09-21 Thread taijirobot
thank you, I missed the line 'form = BlogForm' in admin class, but after I added this, the tinymce editor still doesn't show, except that the body textarea is bigger than it used to be. On Sep 22, 1:42 am, brad wrote: > > The document says we can get a tinymce editor in

Re: About using django-tinymce

2009-09-21 Thread taijirobot
Yes, I am very unconfident about my MEDIA_URL settings too. But I don't know how to set it in my case that I am running the site on the localhost. On Sep 21, 4:37 pm, Daniel Roseman wrote: > > Well, I would assume that MEDIA_URL is wrong - it's very unlikely you > want it

Re: About using django-tinymce

2009-09-21 Thread brad
> The document says we can get a tinymce editor in the admin site after > this. But nothing different shows with mine. Just to clarify, are you trying to get tinymce displaying in your django admin? If so, you have to tell the admin for your BlogPost model to use the BlogForm. So do you have

Re: About using django-tinymce

2009-09-21 Thread Joost Cassee
On 21 sep, 06:22, taijirobot wrote: > What might be the problem? If it still doesn't work after following Daniel's suggestion, you might try debugging using Firebug. Problems like this are usually because the Javascript is not loaded. Regards, Joost

Re: About using django-tinymce

2009-09-21 Thread Daniel Roseman
On Sep 21, 5:22 am, taijirobot wrote: > Hi, guys, > > I'm learning django recently and I am trying to add a rich text editor > to the places where long formated text like blog post are needed (the > site is running on local machine with the default django server). > >