On 4 Oct 2006, at 17:09, Andy Dustman wrote:
I found this... Note that on darwin, the dbexclude feature will not work due to word boundary anchor bugs in regex. ....here... ...bugger! So to speak... I also found that your code was missing a "P"... REXEXP... as a workaround for now... this kinda works... object_list = Product.objects.extra(where=[r"title REGEXP %s"], params=[r"(^%s | %s[ $])" % words] ) Thanks for the help Andy... tom --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~--- |
- Re: Anal not Analog, Analysis: DB Question Tom Smith
- Re: Anal not Analog, Analysis: DB Question Tom Smith