How can I obfuscate email addresses contained in 'free input' text fields in Django

Posted by bitbutter on Stack Overflow See other posts from Stack Overflow or by bitbutter
Published on 2010-05-19T09:19:55Z Indexed on 2010/05/19 9:50 UTC
Read the original article Hit count: 298

Filed under:
|
|
|
|

In my models I often use text fields that are intended to contain large pieces of textile-formatted input. I'd like to automatically obfuscate any email addresses that are entered into these text fields, so that when they're printed in a template they're not visible to spiders.

Is there a smart way to do this?

© Stack Overflow or respective owner

Related posts about django

Related posts about textile