Re: Ignoring the word "The"

2009-06-03 Thread Will Hardy
A more general solution is to create a another database field for sorting/searching. If you override the model's save() method to copy the field's value, removing any characters you don't want (it could be language independent, so would remove "Der/Die/Das" from german titles, or it can do anythi

Re: Ignoring the word "The"

2009-06-03 Thread Alex Gaynor
On Wed, Jun 3, 2009 at 4:52 PM, Andy Dietler wrote: > > Is there an easy way to ignore the word "The" when returning a list > using "__startswith=" in Django/Python? > > I've looked around but it's hard to make any ground when searching for > the word The. > > > > There isn't an exact command to

Ignoring the word "The"

2009-06-03 Thread Andy Dietler
Is there an easy way to ignore the word "The" when returning a list using "__startswith=" in Django/Python? I've looked around but it's hard to make any ground when searching for the word The. --~--~-~--~~~---~--~~ You received this message because you are subscri