sunscrapers / djoser

REST implementation of Django authentication system.
MIT License
2.55k stars 458 forks source link

Search filter for Djoser auth/users view ? #649

Open ahermant opened 2 years ago

ahermant commented 2 years ago

Hi, Is there a way to add a search filter (https://www.django-rest-framework.org/api-guide/filtering/#searchfilter) to the auth/users/ GET endpoint of Djoser ? I would like to add a username filter without having to use an extra endpoint. Would it make sense to create a pull request to add a setting to specify some custom filters on the views ?

aantsiferov commented 6 months ago

Hi all I have same issue. I need to get a filtered list of users within some interval and I don't want to filter this info from full list on the client. May be someone has fast solution? Thank you guys