Thanks for the advice. I was kinda thinking I would have to use regex.
I hadn't thought of puting the replace() in a custom cleaning method,
but I agree that sounds like a good place to put it.
On Fri, 2009-01-30 at 13:59 +1100, Malcolm Tredinnick wrote:
> On Thu, 2009-01-29 at 18:47 +,
On Thu, 2009-01-29 at 18:47 +, Adam Stein wrote:
> According to the docs, when using 'contains' in filter() a percent sign
> or underscore is automatically escaped. However, in my case I want the
> resulting SQL to use the percent sign.
>
> I know 'contains' will fill in the outside percent
According to the docs, when using 'contains' in filter() a percent sign
or underscore is automatically escaped. However, in my case I want the
resulting SQL to use the percent sign.
I know 'contains' will fill in the outside percent signs, but it escapes
the percent sign in my string. So that
3 matches
Mail list logo