Sam, there's a filter for clickable URLs built-into Django, too. Smacked my head when I found that one.
On Mar 7, 4:44 pm, "Sam" <[EMAIL PROTECTED]> wrote: > I have updated the script to version 1.15.2 ( i started at the > translation version ) with two other features: > > - turn text URLs into clickable URLshttp://www.djangoproject.com/becomes <a > href="http://www.djangoproject.com/">http://www.djangoproject.com/</a> > > - blacklist regexp URLs > filter.forbidden_urls = ( r'^/delete-account/', ) > <a href="/delete-account/">Click to reply</a> becomes <a > href="#">Click to reply</a> > > James, i included the strip_tags() function because it was needed > inside other parts of the code and that code could be run outside of > Django. Now that you're reading : I love Django ! :) > > Thanks a lot Bram > > Jay, i will compile the regexps inside __init__ tomorrow --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---