-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use of Django filtering with `__contains` queries case-insensitively on SQLite [0], but case-sensitively on PostgreSQL. In order to keep case-insensitive search, this commit modifies the logic to use Django `__icontains` instead [1]. [0] https://docs.djangoproject.com/en/5.1/ref/databases/#substring-matching-and-case-sensitivity [1] https://docs.djangoproject.com/en/5.1/ref/models/querysets/#icontains
- Loading branch information
Showing
2 changed files
with
15 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters