Re: DatabaseWrapper operators

2009-05-05 Thread pbzRPA
One more thing. Would you know if its mysql version related? I am running 5.0.56 and am not sure if that might be the problem. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To pos

Re: DatabaseWrapper operators

2009-05-05 Thread pbzRPA
Hi, Thanks for the advice, it has solved some of my problem but the "ś" for example still does not get found when looking for "s". But it's a step in the right direction. :) Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: DatabaseWrapper operators

2009-05-04 Thread pbzRPA
Hi, thank you for your input. The trouble I am having is that I have a polish database of users with polish letters in their names and surnames. Now not all international users have access to polish letters on their system therefore I need to be able to let a user enter English letters like "L" i

DatabaseWrapper operators

2009-05-04 Thread pbzRPA
I would like to know if anyone knows how to create custom operators for querysets. Currently you can do something like: foo.objects.filter(myfield__icontains = x) I would like to add my own operator so I can do something like: foo.objects.filter(myfield__converttext = x) where "converttext" w