exact lookup in SearchFilter

15 views
Skip to first unread message

Oskar Persson

unread,
Sep 17, 2019, 6:23:49 AM9/17/19
to Django REST framework
It would be nice to have a way to use "exact" instead of "iexact" in SearchFilter, especially for UUIDField when using SQLite or MySQL until https://code.djangoproject.com/ticket/29915 is fixed. Or is there some way to use it today or should I just make a custom subclass of SearchFilter in my project?

// Oskar

Carlton Gibson

unread,
Sep 17, 2019, 7:55:48 AM9/17/19
to django-res...@googlegroups.com
That looks like it’ll land in v3.1, so “just making a subclass” might be the way to go for the meantime. 
C. 

On 17 Sep 2019, at 12:23, Oskar Persson <oskar....@polken.se> wrote:

It would be nice to have a way to use "exact" instead of "iexact" in SearchFilter, especially for UUIDField when using SQLite or MySQL until https://code.djangoproject.com/ticket/29915 is fixed. Or is there some way to use it today or should I just make a custom subclass of SearchFilter in my project?

// Oskar

--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-fram...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/2127e034-515b-4c5a-842e-8f8d10ce7e03%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages