Re: Textarea taking htnml tags

2015-03-30 Thread Akash Patni
hi for removing html tags i have used the following function but it is not working...Please suggest class NotesForm(forms.Form): ''' Notes ''' note_title=forms.CharField(label="Note Title *:",max_length=100) note=forms.CharField(widget=forms.Textarea,label="Note:",required=False)

Re: Textarea taking htnml tags

2015-03-29 Thread Akash Patni
*Hi,* *This my template* {% block content %} View Notes See your notes details. {% for i in result %} Note Title {{i.note_title}} Note *{{i.note}}* Beneficiaries {% if all_nominees %} {% for nominee in

Re: Textarea taking htnml tags

2015-03-27 Thread aRkadeFR
Hey, He doubled post. A thread already exists about this called: "textarea showing image instead of code" On 03/27/2015 03:54 PM, Filipe Ximenes wrote: Can you send us the code of the view and the template of this form? On Fri, Mar 27, 2015 at 3:27 AM,

Re: Textarea taking htnml tags

2015-03-27 Thread Gabriel - Iulian Dumbrava
Have you checked if the html tags actually end up in the database? If yes, then the problem is either in the view or in the template (like not using the safe filter). vineri, 27 martie 2015, 08:27:15 UTC+2, akash...@ranosys.com a scris: > > Hie to all, > In one of my template i am using text

Re: Textarea taking htnml tags

2015-03-27 Thread Filipe Ximenes
Can you send us the code of the view and the template of this form? On Fri, Mar 27, 2015 at 3:27 AM, wrote: > Hie to all, > In one of my template i am using text area. The issue is that when i write > html tags with some image link using img tag, when i am saving this i

Textarea taking htnml tags

2015-03-27 Thread akash . patni
Hie to all, In one of my template i am using text area. The issue is that when i write html tags with some image link using img tag, when i am saving this i am getting image on the desription field. Actual-Image is comming Expected-I want HTML code to be displayed in the discription. Please