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,
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
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 }}
> {{
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
[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
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
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
> 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
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
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).
>
>
10 matches
Mail list logo