1👍
✅
You can call
http://127.0.0.1:8000/profile/?state__iexact=Alaska
Default lookup method is exact
. iexact
is a case-insensitive exact.
Filtering in Tastypie looks like filtering in Django ORM. Every field lookups works.
0👍
transform your filters into lowercase
your_filter.lower()
But, It only gonna work if you stored your values as lowercase in your DB.
👤levi
- What is proper workflow for insuring "transactional procedures" in case of exceptions
- Django annotate price per month
- Security using Django 1.10 + AJAX without any HTML form
- Form not Rendered in Django
- Deploying a React app on Heroku
Source:stackexchange.com