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
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
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
3 matches
Mail list logo