I have a field in database which开发者_开发百科 is use to save a description with rich textbox, below is the data:
<p><img title="1" src="/media/upload/thumbnail.jpg" alt="1" width="60" height="60" />5th Freedom of the Air is:</p>
When I list in in the admin list(list_display), it shows me the description with image.
How can I change the to , so that it wont show image?
I want to display instead of
If I understand your question correctly, your text should be probably escaped before saving, see: http://docs.djangoproject.com/en/dev/ref/templates/builtins/?from=olddocs#escape
精彩评论