I have this code
query = request.GET.get("q")
if query:
if query == "song" or query == "songs":
return render(request, 'music/cloud.html', {
'songs': song_results,
'generic_songs': song_results_generic,
})
The thing is, I want the "if" statement to ignor uppercases. For example, when the user search by "SoNg" or "SonG" or.. it will be converted to "song" before testing