
Django
How to Fix Django Error: Related Field got invalid lookup: icontains
This error typically relates to trying to add a field to your search_fields, but the field is not actually text—perhaps it’s a ManyToManyField or a ForeignKey. Given the following, we want to be able to search our tags when we're in the Blog List View