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
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论