i see that there exists a handy way -- *icontains* does exactly what iam looking at
On Sun, Aug 31, 2008 at 9:35 PM, Vadivel Kumar <[EMAIL PROTECTED]> wrote: > Thanks Michael, > > I solved the problem - i had a silly mistake in the way how i handled to > check the existing tag. But, now the problem is when i check the given tag > text against the database, i do it as like below, > > newTag = request.POST['tag'] > existingTag = Tags.objects.filter(TagName__exact=newTag) > > Now, I wanted to check it more perfectly, I want to check with > case-insensitve etc., I am not seeing any appropriate django method to do > this, may be i should check the documentation. > > Thanks for your quick help. > --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---