How to print html in python the normal way

2012-10-04 Thread ashishjain . ash
Hi,

I wrote a simple filter as:

@register.filter()
def html(value):
return 'Check'

when I use this filter in my template, it displays html as:

Check

I want to display as:

Check

am I missing something.

- Thanks for your help
Ashish
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: How to print html in python the normal way

2012-10-05 Thread ashishjain . ash
Hi,

Thanks for the reply.
Apologies for my question not clear. Yes I am using django framework for it.

- Regards
Ashish
-- 
http://mail.python.org/mailman/listinfo/python-list