25👍
Blog.objects.get(name__iexact=receiver_company_name)
you can use iexact
which takes all the arguments ignoring upper and lower case
or you can use
Entry.objects.filter(name__istartswith=receiver_company_name)
Source:stackexchange.com
25👍
Blog.objects.get(name__iexact=receiver_company_name)
you can use iexact
which takes all the arguments ignoring upper and lower case
or you can use
Entry.objects.filter(name__istartswith=receiver_company_name)